Re: [PATCH] fix 'and' typos in drivers/block/pktcdvd.c

From: Alexey Dobriyan
Date: Sat Oct 27 2007 - 12:53:27 EST


On Sat, Oct 27, 2007 at 04:50:27PM +0200, Roel Kluin wrote:
> --- a/drivers/block/pktcdvd.c
> +++ b/drivers/block/pktcdvd.c
> @@ -2202,11 +2202,11 @@ static int pkt_media_speed(struct pktcdvd_device *pd, unsigned *speed)
> return ret;
> }
>
> - if (!buf[6] & 0x40) {
> + if (!(buf[6] & 0x40)) {
> printk(DRIVER_NAME": Disc type is not CD-RW\n");
> return 1;
> }
> - if (!buf[6] & 0x4) {
> + if (!(buf[6] & 0x4)) {

Roel, many of this were fixed during
"+ fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree"
thread. Please, check patches in there and send what was missed.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/