)]}'
{
  "commit": "184c3fc3f52fb75800deb76deffb70907d1f76ea",
  "tree": "79da9107a07645399863940b4de2e63286f778b5",
  "parents": [
    "beb50df39e91745604ce3cb9dc6a503f39f4383d"
  ],
  "author": {
    "name": "Mark Rustad",
    "email": "mark.d.rustad@intel.com",
    "time": "Thu Sep 11 09:47:23 2014 +0930"
  },
  "committer": {
    "name": "Rusty Russell",
    "email": "rusty@rustcorp.com.au",
    "time": "Thu Sep 11 09:59:25 2014 +0930"
  },
  "message": "moduleparam: Resolve missing-field-initializer warning\n\nResolve a missing-field-initializer warning, that is produced\nby every reference to module_param_call, by using designated\ninitialization for the first field. That is enough to silence\nthe complaint.\n\nThe message is only seen when doing a W\u003d2 build. I happened to be using gcc\n4.8.3, but I think most versions would produce the warning when it is\nenabled. It can either be silenced by using even a single designated\ninitializer as I did here, or providing values for all of the fields. Because\nof the number of references to the macro, this change silences many warnings\nin W\u003d2 builds.\n\nOne instance of the full warning message looks like this:\n\n/home/share/git/nn-mdr/include/linux/moduleparam.h:198:16: warning: missing\ninitializer for field ‘free’ of ‘struct kernel_param_ops’\n[-Wmissing-field-initializers]\n  static struct kernel_param_ops __param_ops_##name \u003d  \\\n\t\t  ^\n/home/share/git/nn-mdr/fs/fuse/inode.c:35:1: note: in expansion of macro\n‘module_param_call’\n module_param_call(max_user_bgreq, set_global_limit, param_get_uint,\n ^\n/home/share/git/nn-mdr/include/linux/moduleparam.h:56:9: note: ‘free’\ndeclared here\n  void (*free)(void *arg);\n\nSigned-off-by: Mark Rustad \u003cmark.d.rustad@intel.com\u003e\nSigned-off-by: Jeff Kirsher \u003cjeffrey.t.kirsher@intel.com\u003e\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "593501996574f7893b1633e471350f35f76731e4",
      "old_mode": 33188,
      "old_path": "include/linux/moduleparam.h",
      "new_id": "b43f4752304e26410a0a870a6d8a15edd48058fd",
      "new_mode": 33188,
      "new_path": "include/linux/moduleparam.h"
    }
  ]
}
