Re: include/linux/major.h and drivers/char/sysrq.c

David Ford (david@kalifornia.com)
Thu, 10 Aug 2000 17:30:05 -0700


This is a multi-part message in MIME format.
--------------9CCAE3FBBB050D170A7F8086
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andre Hedrick wrote:

> if (scsi_blk_major(major) || ide_blk_major(major))
> return 1;
> else
> return 0;

how about:

return (scsi_blk_major(major) || ide_blk_major(major));

-d

--
"The difference between 'involvement' and 'commitment' is like an
eggs-and-ham breakfast: the chicken was 'involved' - the pig was
'committed'."

--------------9CCAE3FBBB050D170A7F8086 Content-Type: text/x-vcard; charset=us-ascii; name="david.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for David Ford Content-Disposition: attachment; filename="david.vcf"

begin:vcard n:Ford;David x-mozilla-html:TRUE org:<img src="http://www.kalifornia.com/images/paradise.jpg"> adr:;;;;;; version:2.1 email;internet:david@kalifornia.com title:Blue Labs Developer x-mozilla-cpt:;-12480 fn:David Ford end:vcard

--------------9CCAE3FBBB050D170A7F8086--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/