Re: [PATCH] scsi: qedi: return via va_end to match corresponding va_start

From: Martin K. Petersen
Date: Thu Jan 05 2017 - 00:32:19 EST


>>>>> "Colin" == Colin King <colin.king@xxxxxxxxxxxxx> writes:

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

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

Applied to 4.11/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering