Whamcloud - gitweb
LU-5396 obd: add sparse annotation __user wherever needed 21/11821/2
authorfrank zago <frank@zago.net>
Fri, 29 Aug 2014 23:49:15 +0000 (18:49 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 26 Sep 2014 23:15:31 +0000 (23:15 +0000)
commit13e11c1ed85b611ac8d51cf37be35d025d6fb6a1
tree70c271004068e12a54c042ea36d742b25882a984
parent1eb8805a01f495707f6bf16141e4e7a437be6eca
LU-5396 obd: 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: I9040163eedf5ee89be58d78aa7c8d374ed22b981
Signed-off-by: frank zago <fzago@cray.com>
Reviewed-on: http://review.whamcloud.com/11821
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_ioctl.h
lustre/include/obd.h
lustre/include/obd_class.h
lustre/obdclass/class_obd.c
lustre/obdclass/linux/linux-module.c
lustre/obdecho/echo_client.c