]> git.baikalelectronics.ru Git - kernel.git/commit
cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros
authorJoe Perches <joe@perches.com>
Mon, 5 May 2014 00:05:04 +0000 (17:05 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 5 May 2014 20:58:05 +0000 (14:58 -0600)
commit780e1ef360b01d0d6527a10e1d393346ab3a1d96
tree8d165d673635d8293dcecff87b72bc75e6a6b740
parent7b80cf894662e74e9c32342cde136997f041bb88
cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros

Macros with hidden control flow aren't nice.
Just use copy_to/from_user directly instead.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/cdrom/cdrom.c