scsi: esas2r: Fix format string type mistakes
This adds the missing __printf attribute which allows compile time format string checking (and will be used by the coming initify gcc plugin). Additionally, this fixes the warnings exposed by the attribute. Signed-off-by: Emese Revfy <re.emese@gmail.com> [kees: split scsi/acpi, merged attr and fix, new commit messages] Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
eab5c1503b
commit
b6f0ec3621
@@ -237,7 +237,7 @@ static void esas2r_claim_interrupts(struct esas2r_adapter *a)
|
||||
flags |= IRQF_SHARED;
|
||||
|
||||
esas2r_log(ESAS2R_LOG_INFO,
|
||||
"esas2r_claim_interrupts irq=%d (%p, %s, %x)",
|
||||
"esas2r_claim_interrupts irq=%d (%p, %s, %lx)",
|
||||
a->pcid->irq, a, a->name, flags);
|
||||
|
||||
if (request_irq(a->pcid->irq,
|
||||
|
Reference in New Issue
Block a user