Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551639 > unrolled thread

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

Started by"Martin K. Petersen" <martin.petersen@oracle.com>
First post2017-01-05 06:40 +0100
Last post2017-01-05 06:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] scsi: qedi: return via va_end to match corresponding va_start "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-01-05 06:40 +0100

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

From"Martin K. Petersen" <martin.petersen@oracle.com>
Date2017-01-05 06:40 +0100
SubjectRe: [PATCH] scsi: qedi: return via va_end to match corresponding va_start
Message-ID<sW8Wl-6Vv-9@gated-at.bofh.it>
>>>>> "Colin" == Colin King <colin.king@canonical.com> 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web