scsi: qedi: return via va_end to match corresponding va_start
authorColin Ian King <colin.king@canonical.com>
Fri, 16 Dec 2016 14:10:43 +0000 (14:10 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Jan 2017 05:31:13 +0000 (00:31 -0500)
commit703e747a6b6fa51afa6632b6963569c654062de6
treec70166d197291d12de2c3abf5ae3dc1663326bae
parenta5c1be7005e2992e3ae2ffa4e510e9bd4c2922e8
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>
drivers/scsi/qedi/qedi_dbg.c