]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: pcmcia: nsp_cs: Use new __printf() format notation
authorLee Jones <lee.jones@linaro.org>
Tue, 7 Jul 2020 14:00:52 +0000 (15:00 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 8 Jul 2020 05:12:54 +0000 (01:12 -0400)
commitaf0b55d06004a5dbe8aa81645783b89f4eaccca7
tree66900ce8102dbde65391a741896f81d9f64e5a4d
parent3c011793aca71edf8dd40d1201935b51b3acd855
scsi: pcmcia: nsp_cs: Use new __printf() format notation

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_cs_message’:
 drivers/scsi/pcmcia/nsp_cs.c:143:2: warning: function ‘nsp_cs_message’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
 drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_fifo_count’:
 drivers/scsi/pcmcia/nsp_cs.c:692:24: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20200707140055.2956235-8-lee.jones@linaro.org
Cc: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pcmcia/nsp_cs.c