]> git.baikalelectronics.ru Git - kernel.git/commit
aic79xx: fix misuse of static variables
authorMathias Krause <minipli@googlemail.com>
Thu, 1 May 2014 09:48:25 +0000 (11:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 17:12:23 +0000 (19:12 +0200)
commitc4f10d2430ec1563f40e3c033219ce2dd07bab3f
tree46cd65a864d2cdcffc2481d6c4d6458aa6140ec0
parentdabc5aef1e315d19926de5748b19915428ad61c1
aic79xx: fix misuse of static variables

The format strings for various printk()s make use of a temporary
variable that is declared 'static'. This is probably not intended,
so fix those.

Found in the PaX patch, written by the PaX Team.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Acked-by: Hannes Reinecke <hare@suse.de>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: PaX Team <pageexec@freemail.hu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/aic7xxx/aic79xx_pci.c