]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] cdrom: fix bad cgc.buflen assignment
authorJens Axboe <axboe@suse.de>
Mon, 10 Jul 2006 11:44:08 +0000 (04:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:15 +0000 (13:24 -0700)
commit454d6fbc48374be8f53b9bafaa86530cf8eb3bc1
tree4c03136b93d2b7626df68c9ee7af2c9fc064f765
parent5d8b2ebfa298ec4e6d9fa43e60fb013e8cd963aa
[PATCH] cdrom: fix bad cgc.buflen assignment

The code really means to mask off the high bits, not assign 0xff.

Signed-off-by: Jens Axboe <axboe@suse.de>
Cc: Marcus Meissner <meissner@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/cdrom/cdrom.c