]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
53c700: Use proper debug printk format specifiers
authorHelge Deller <deller@gmx.de>
Fri, 10 Jun 2016 20:39:45 +0000 (22:39 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit0da21c4417ce8fac70bb46dd58c3a63f64bad76c
tree4dd5763b4cba7d6387a670c50c5924840454b25c
parent29374ec6e2160290e758a3cac1d2d81dd9613f4a
53c700: Use proper debug printk format specifiers

When enabling the debug options NCR_700_DEBUG and NCR_700_TAG_DEBUG
various printk format warnings can be seen like:
drivers/scsi/53c700.c:357:2: warning: format  %p  expects argument of type  void * , but argument 4 has type  dma_addr_t  [-Wformat=]
  script_patch_32(hostdata->dev, script, MessageLocation,

Fix them by using the right printk format specifiers.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/53c700.c
drivers/scsi/53c700.h