Searched hist:"703 e747a6b6fa51afa6632b6963569c654062de6" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/qedi/ |
H A D | qedi_dbg.c | diff 703e747a6b6fa51afa6632b6963569c654062de6 Fri Dec 16 15:10:43 CET 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>
|