Whamcloud - gitweb
LU-5396 libcfs: add sparse annotation __user wherever needed 17/11817/4
authorFrank Zago <fzago@cray.com>
Wed, 23 Jul 2014 21:03:30 +0000 (16:03 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Oct 2014 00:53:54 +0000 (00:53 +0000)
commitc64a87cede3b070573ed0062d98fc33be34111b8
treed58d5ee5a3d40ee35accec23d7c578d4cc44ce5e
parentb23357064aba6022237dd146c33725529069770d
LU-5396 libcfs: add sparse annotation __user wherever needed

This fixes sparse warnings such as:

  .../api-ni.c:1639:33: warning: incorrect type in argument 3
                             (different address spaces)
  .../api-ni.c:1639:33:    expected struct lnet_process_id_t
                             [noderef] [usertype] <asn:1>*ids
  .../api-ni.c:1639:33:    got struct lnet_process_id_t
                             [usertype] *<noident>

There is no code change.

Change-Id: I07a40b3e2f5bf179923c57d9eda86b4921cd7699
Signed-off-by: frank zago <fzago@cray.com>
Reviewed-on: http://review.whamcloud.com/11817
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_debug.h
libcfs/include/libcfs/libcfs_ioctl.h
libcfs/include/libcfs/linux/libcfs.h
libcfs/libcfs/linux/linux-module.c
libcfs/libcfs/linux/linux-proc.c
libcfs/libcfs/module.c
libcfs/libcfs/tracefile.c
libcfs/libcfs/tracefile.h