]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: Fix sparse error (signature mismatch)
authorL. Alberto Giménez <agimenez@sysvalve.es>
Thu, 24 Jul 2014 22:50:25 +0000 (00:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:24:37 +0000 (11:24 -0700)
commit0ac8bb332f9d89b8b6dfcb6fb8b95bb1403981be
treecd412806bebb17bdf0dddf4e4cf6caaa6d144d8a
parent9bbdeed416f5257e4b3a3f5c2afb98ab629592eb
staging/lustre: Fix sparse error (signature mismatch)

lprocfs_wr_atomic is defined in
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c with its second argument
with the __user attribute:

int lprocfs_wr_atomic(struct file *file, const char __user *buffer,
              unsigned long count, void *data)

but its declaration in drivers/staging/lustre/lustre/include/lprocfs_status.h does
not include the attribute. Make declaration and definition match.

Signed-off-by: L. Alberto Giménez <agimenez@sysvalve.es>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/lprocfs_status.h