[SCSI] fcoe: fix incorrect use of struct module
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 21:45:41 +0000 (15:45 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 30 Dec 2008 19:08:37 +0000 (13:08 -0600)
commit56b854bb314084396d3d3138126496d330943559
treedcd1b29760738bfc670239949e7ab06b79271c96
parent73c336740362731983bf7fd747cdd3b6ac593cef
[SCSI] fcoe: fix incorrect use of struct module

This structure may not be defined if CONFIG_MODULE=n, so never deref
it.  Change uses of module->name to module_name(module) and corrects
some dyslexic printks and docbook comments.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/fcoe/libfcoe.c