Home
last modified time | relevance | path

Searched hist:"703 e747a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_dbg.c703e747a Fri Dec 16 08:10:43 CST 2016 Colin Ian King <colin.king@canonical.com> scsi: qedi: return via va_end to match corresponding va_start

Although on most systems va_end is a no-op, it is good practice to use
va_end on the function return path, especially since the va_start
documenation states:

"Each invocation of va_start() must be matched by a corresponding
invocation of va_end() in the same function."

Found with static analysis by CoverityScan, CIDs 1389477-1389479

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Manish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
703e747a Fri Dec 16 08:10:43 CST 2016 Colin Ian King <colin.king@canonical.com> scsi: qedi: return via va_end to match corresponding va_start

Although on most systems va_end is a no-op, it is good practice to use
va_end on the function return path, especially since the va_start
documenation states:

"Each invocation of va_start() must be matched by a corresponding
invocation of va_end() in the same function."

Found with static analysis by CoverityScan, CIDs 1389477-1389479

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Manish Rangankar <manish.rangankar@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>