fs/bio.c: add missing __user annotation
commit0e0c62123b517d2b3c26922342c0cc5bb63a93f8
authorMichal Simek <monstr@monstr.eu>
Wed, 10 Jun 2009 19:57:07 +0000 (10 12:57 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 10 Jun 2009 21:07:15 +0000 (10 23:07 +0200)
tree12de5174964661c1731cec7e3abd05980dfcf26d
parentd9c7d394a8ebacb60097b192939ae9f15235225e
fs/bio.c: add missing __user annotation

As reported by sparse:

fs/bio.c:720:13: warning: incorrect type in assignment (different address spaces)
fs/bio.c:720:13:    expected char *iov_addr
fs/bio.c:720:13:    got void [noderef] <asn:1>*
fs/bio.c:724:36: warning: incorrect type in argument 2 (different address spaces)
fs/bio.c:724:36:    expected void const [noderef] <asn:1>*from
fs/bio.c:724:36:    got char *iov_addr

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c