Linux 4.13: use designated initializers where required 63/12663/4
authorStephan Wiesand <stephan.wiesand@desy.de>
Mon, 24 Jul 2017 09:37:54 +0000 (11:37 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 26 Jul 2017 12:27:00 +0000 (08:27 -0400)
commitd55b41072ce873210481baa4cae5c7143011869b
tree61b9196395c232da3229dcfd93b7a3e909362b7c
parent030a9849e22f443492342794f436e2c86c98a903
Linux 4.13: use designated initializers where required

struct path is declared with the "designated_init" attribute,
and module builds now use -Werror=designated-init. Cope.

And as pointed out by Michael Meffie, struct ctl_table has
the same requirement now, so use a designated initializer
for the final element of the sysctl table too.

Change-Id: I0ec45aac961dcefa0856a15ee218085626a357c7
Reviewed-on: https://gerrit.openafs.org/12663
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_misc.c
src/afs/LINUX/osi_sysctl.c