linux/drivers/staging
Loïc Pellegrino 8fa74ef2fc staging/lustre: Different prototypes between the declaration and the definition
Align the prototype of lprocfs_wr_uint() in the declaration with the one used
in the definition.

The prototype is:
int lprocfs_wr_uint(struct file *file, const char __user *buffer,
                    unsigned long count, void *data)
In obdclass/lprocfs_status.c

But in lustre/include/lprocfs_status.h, the __user annotation is missing for
the attribute buffer.

The correct prototype is the first one (the definition) since:
- This function is eventually called by the write() function pointer of an
instance of struct file_operations
- In this function, buffer is a parameter of copy_from_user()
- Before the commit 73bb1da692, the declaration
and the definition had the same prototype, but only the .c has been updated.

Correcting this will remove a sparse error and add sparse warnings.
This is a task of the Eudyptula challenge.

Signed-off-by: Loïc Pellegrino <oort10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-06 22:05:34 -07:00
..
android staging: android: use braces on all arms of if 2014-09-02 12:28:45 -07:00
bcm Staging: bcm: fixed a comment coding style issue 2014-08-31 12:55:38 -07:00
board
comedi staging: comedi: amplc_pci230: simplify interrupt enable handling 2014-09-02 11:21:32 -07:00
cptm1217
dgap drivers: staging: dgap: fix the checkpatch.pl issue "Warning: line over 80 characters" 2014-09-06 21:46:55 -07:00
dgnc staging: dgnc: split two assignments into the two assignments on two lines. 2014-09-02 10:44:33 -07:00
emxx_udc Staging: emxx_udc: emxx_udc: remove spaces before semicolons 2014-08-30 14:07:38 -07:00
et131x staging: et131x: et131x.c: sparse warning of incompatible types 2014-09-02 10:57:03 -07:00
ft1000 drivers: staging: ft1000: Fix return is not a function, parentheses are not required errors 2014-09-02 10:48:32 -07:00
fwserial
gdm72xx Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-08-06 09:38:14 -07:00
gdm724x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-08-06 09:38:14 -07:00
goldfish staging: goldfish: avoid multiple assignments 2014-09-06 21:54:57 -07:00
gs_fpgaboot staging: gs_fpgaboot: remove unnecessary return statements 2014-09-06 21:50:30 -07:00
iio staging:iio: Remove ad5930/ad9850/ad9852/ad9910/ad9951 dummy drivers 2014-08-19 20:25:10 +01:00
imx-drm staging: imx-drm: Lines over 80 characters fixed. 2014-08-30 14:06:48 -07:00
line6
lustre staging/lustre: Different prototypes between the declaration and the definition 2014-09-06 22:05:34 -07:00
media Staging driver patches for 3.17-rc1 2014-08-04 18:36:12 -07:00
mt29f_spinand staging/mt29f_spinand: coding style fixes 2014-08-16 12:23:27 -07:00
netlogic staging: netlogic: Fix checkpatch.pl warning 2014-09-02 10:40:03 -07:00
nvec staging/nvec: Use platform_get_irq() 2014-07-30 17:18:47 -07:00
octeon
octeon-usb staging: octeon-usb: use USB_DIR_IN 2014-09-02 10:48:32 -07:00
olpc_dcon
ozwpan staging: ozwpan: Use list helpers 2014-08-16 12:23:12 -07:00
panel
rtl8188eu staging: rtl8188eu: include missing header 2014-09-06 22:02:17 -07:00
rtl8192e staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtl8192ee staging: rtl8192ee: Fix RT_TRACE #define and uses 2014-08-16 12:23:11 -07:00
rtl8192u Staging: rtl8192u: fix brace style coding issue in r819xU_firmware.c 2014-09-06 21:46:54 -07:00
rtl8712 staging:rtl8712:mlme_linux.c: Adds blank lines to pass checkpatch.pl 2014-07-30 17:05:56 -07:00
rtl8723au drivers: staging: rtl8723au: Fix return is not a function, parentheses are not required error 2014-09-02 10:48:32 -07:00
rtl8821ae staging: rtl8821ae: Fix sparse warning by making functions static. 2014-09-06 22:01:09 -07:00
rts5208 staging: rts5208: Remove casting the return value which is a void pointer 2014-08-30 14:07:37 -07:00
skein
slicoss staging: slicoss: fix a blank line coding style issue 2014-08-16 12:23:13 -07:00
speakup Update speakup mailing list address 2014-07-18 16:36:29 -07:00
ste_rmi4
unisys drivers/staging/unisys: fix build 2014-08-26 12:18:51 -07:00
vme staging: vme: remove redundant else condition 2014-08-30 14:06:47 -07:00
vt6655 staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. 2014-08-30 15:19:17 -07:00
vt6656 staging: vt6656: add blank line after declaration 2014-08-16 12:23:17 -07:00
wlan-ng staging: wlan-ng: prism2mgmt.c Fix break not useful 2014-08-17 09:49:48 -07:00
xgifb staging: xgifb: remove unnecessary else 2014-09-06 21:48:19 -07:00
xillybus staging: xillybus: Removed read barrier at beginning of ISR 2014-08-30 13:14:41 -07:00
Kconfig Merge 3.17-rc3 into staging-next 2014-08-31 20:53:12 -07:00
Makefile Merge 3.17-rc3 into staging-next 2014-08-31 20:53:12 -07:00
staging.c