Re: [PATCH 1/2] scsi: qla2xxx: silent -Wformat-security warning

From: Bart Van Assche
Date: Mon Jan 02 2017 - 03:17:03 EST


On Mon, 2016-12-26 at 14:23 +0100, Nicolas Iooss wrote:
> Even though msix_entries[...].name are initialized as literal strings
> with no % character and are never modified, introduce a "%s" format
> parameter in order to silent this -Wformat-security warning and make
> clang able to detect at compile time real bugs related to string
> formatting.

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx>