Re: [PATCH -mm] drivers/md/: Shut up uninitialized variable warnings

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Satyam Sharma <satyam@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Alasdair G Kergon <agk@...>, <dm-devel@...>, Andrew Morton <akpm@...>
Date: Sunday, September 2, 2007 - 4:34 pm

Satyam Sharma wrote:

same comment as with the last uninit'd var patch:  these markers should 
be used sparingly.  Try it on multiple compiler versions, see if it's a 
new behavior.

Quite realistically, you might actually be finding gcc bugs, implying 
the proper path is to file a gcc bug report (and they are _very_ 
diligent about handling these, its impressive) rather than to patch the 
Linux kernel.

Overall, for any uninitialized_var() patch, we need more info on 
platform/compiler version/analysis methods/etc.

	Jeff



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[-mm patchset] War on warnings, Satyam Sharma, (Sun Sep 2, 4:02 pm)
Re: [PATCH -mm] drivers/md/: Shut up uninitialized variable ..., Jeff Garzik, (Sun Sep 2, 4:34 pm)
[PATCH -mm] net/wireless/sysfs.c: Shut up build warning, Satyam Sharma, (Sun Sep 2, 4:11 pm)
[PATCH -mm] sisusbvga: Fix bug and build warnings, Satyam Sharma, (Sun Sep 2, 4:07 pm)
Re: [PATCH -mm] sisusbvga: Fix bug and build warnings, Satyam Sharma, (Sun Sep 2, 4:32 pm)
Re: [-mm patchset] War on warnings, Jesper Juhl, (Sun Sep 2, 4:04 pm)
Re: [-mm patchset] War on warnings, Satyam Sharma, (Sun Sep 2, 4:39 pm)