diff options
| author | Colin Ian King <colin.king@canonical.com> | 2016-12-16 17:10:43 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-01-05 08:31:13 +0300 |
| commit | 703e747a6b6fa51afa6632b6963569c654062de6 (patch) | |
| tree | c70166d197291d12de2c3abf5ae3dc1663326bae /include | |
| parent | a5c1be7005e2992e3ae2ffa4e510e9bd4c2922e8 (diff) | |
| download | linux-703e747a6b6fa51afa6632b6963569c654062de6.tar.xz | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
