[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4596784A.1060001@torque.net>
Date: Sat, 30 Dec 2006 09:31:38 -0500
From: Douglas Gilbert <dougg@...que.net>
To: Randy Dunlap <rdunlap@...otime.net>
CC: Sumant Patro <sumantp@...l.com>, James.Bottomley@...elEye.com,
akpm@...l.org, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, neela.kolli@....com, bo.yang@....com,
sumant.patro@....com
Subject: Re: [Patch] scsi: megaraid_{mm,mbox}: init fix for kdump
Randy Dunlap wrote:
> On Fri, 29 Dec 2006 08:02:17 -0800 Sumant Patro wrote:
>
> See Documentation/SubmittingPatches:
> Please include output of "diffstat -p1 -w70" so that we can easily see
> the scope of the changes.
>
> and see Documentation/CodingStyle for comments below:
>
>
>> diff -uprN linux-2.6.orig/drivers/scsi/megaraid/megaraid_mbox.c linux-2.6.new/drivers/scsi/megaraid/megaraid_mbox.c
>> --- linux-2.6.orig/drivers/scsi/megaraid/megaraid_mbox.c 2006-12-28 09:56:04.000000000 -0800
>> +++ linux-2.6.new/drivers/scsi/megaraid/megaraid_mbox.c 2006-12-29 05:31:48.000000000 -0800
>> @@ -779,6 +780,22 @@ megaraid_init_mbox(adapter_t *adapter)
>> goto out_release_regions;
>> }
>>
>> + // initialize the mutual exclusion lock for the mailbox
>> + spin_lock_init(&raid_dev->mailbox_lock);
>
> Linux uses /*...*/ C89-style comments, not // C99 comments.
Randy
It is about time this absurd stipulation was dropped.
Are there any C compilers that can compile the linux
kernel and that don't accept both _standard_ comment styles?
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists