Messages in this thread | | | Date | Thu, 16 Oct 2008 14:24:27 -0700 (PDT) | From | "Randy.Dunlap" <> | Subject | Re: [PATCH] stop gcc warning about uninitialized 'dev' in ata_scsi_scan_host |
| |
> > > I guess we don't want to sprinkle these around all over the place > > > just to solve cosmetic issues, which makes sense, but is there > > > some other approach we could take instead? Any suggestions? Or > > > just live with it? > > > > We have an annotation for these kinds of warnings in the kernel. > > Oh, is it this? > > from linux/compiler-gcc3.h > #define uninitialized_var(x) x = x
Yes, you got it.
-- ~Randy
| |