diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-03 12:32:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-03 12:32:31 -0700 |
| commit | 27ff96a96c95d0171f3215458dd5a2ebc4bfafbf (patch) | |
| tree | 8d64cfc6f11e29159c033073e63fd4a9baf94776 /validation | |
| parent | 37475a6c1c3e66219e68d912d5eb833f4098fd72 (diff) | |
| download | sparse-dev-27ff96a96c95d0171f3215458dd5a2ebc4bfafbf.tar.gz | |
Make sparse warn about initializers that initialize the same member twice
Surprisingly, gcc apparently doesn't warn/notice. And yes, we had at
least one such error in the kernel due to some over-eager cut-and-paste
happening.
[ Side note: this should also fix a problem with bitfields at byte
offset zero not necessarily getting sorted right. Not that that would
have likely affected any current usage of sparse. ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions
