2002-08-11 07:13:19

by Adam J. Richter

[permalink] [raw]
Subject: Patch: linux-2.5.31/include/linux/blkdev.h paranethesis problem in BLK__DEFAULT_QUEUE

Hi Jens,

The following trivial fix has been in my kernel tree for
ages. It is need for the C compiler to compile statements like
the following, which I use in my version of loop.c:

BLK_DEFAULT_QUEUE(MAJOR_NR)->queuedata = NULL;

Could you please apply it to your tree and forward it to
Linus (or let me know if you'd prefer to handle it some other way).

--
Adam J. Richter __ ______________ 575 Oroville Road
[email protected] \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."


Attachments:
(No filename) (628.00 B)
blkdev.patch (532.00 B)
Download all attachments

2002-08-11 10:16:33

by Jens Axboe

[permalink] [raw]
Subject: Re: Patch: linux-2.5.31/include/linux/blkdev.h paranethesis problem in BLK__DEFAULT_QUEUE

On Sun, Aug 11 2002, Adam J. Richter wrote:
> Hi Jens,
>
> The following trivial fix has been in my kernel tree for
> ages. It is need for the C compiler to compile statements like
> the following, which I use in my version of loop.c:
>
> BLK_DEFAULT_QUEUE(MAJOR_NR)->queuedata = NULL;
>
> Could you please apply it to your tree and forward it to
> Linus (or let me know if you'd prefer to handle it some other way).

Trivially correct, just go ahead and send it to Linus. Thanks.

--
Jens Axboe