]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commited980dddf6bc8619ba551ae1caac9d624d50cf2a
treedcd1b29760738bfc670239949e7ab06b79271c96
parentb75e0caf54d86626fbf49fb283bfca975eaf4fe5
[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