Messages in this thread | | | Date | Mon, 26 Mar 2001 17:20:54 -0500 | From | Jeff Garzik <> | Subject | Re: [CHECKER] Questions about *_do_scsi & create_proc_entry |
| |
> Another question is that by inspecting the NULL checker's result, I > found that *_do_scsi is always used in the following way "SRpnt = > *_do_scsi(SRPnt, ...)" no matther SRPnt is NULL or not. If SRpnt is not > NULL, why don't just use > *_do_scsi(SRPnt, ...); > The same thing happens to init_etherdev.
WRT init_etherdev, that's the intended effect, because it's 'dev' arg might indeed by NULL.
-- Jeff Garzik | May you have warm words on a cold evening, Building 1024 | a full moon on a dark night, MandrakeSoft | and a smooth road all the way to your door. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |