Re: [PATCH] block: bio: use struct_size() in kmalloc()

From: Jens Axboe
Date: Sat May 18 2019 - 00:18:45 EST


On 5/17/19 6:43 PM, Chaitanya Kulkarni wrote:
> - linux-block@xxxxxxxxxxxxxxx <linux-block@xxxxxxxxxxxxxxx> to reduce
> the noise.
>
> I apologies Jens, I didn't apply and tested these patches before
> submitting the review and assumed that patches are compiled and
> tested, I'll do so for each patch before submitting the review.

Just to be clear, I'm not placing any blame on you. It's easy to miss
that kind of thing in a review. The onus is on the submitter to ensure
that anything he/she sends in has been both compile and runtime tested.

> Xiaolinkui,
>
> Please send compiled and tested patch only on the latest kernel on the
> appropriate subsystem, otherwise mark the patch appropriately
> [RFC/Compile only] so reviewer would know without such a tag
> it is easy to assume that patch is compiled and tested.
>
> You have also sent out the couple of more patches with this fix.
>
> If they are not compiled and tested with right kernel branch for each
> subsystem, please update the appropriate mail thread either to ignore those
> patches (if they have compilation problem on appropriate branch) or mark
> them compile test only (this needs to be avoided for these patches), in
> either
> case please send updated patches for this fix if needed.

This is solid advice. Sending out untested patches without EXPLICITLY
saying so is reckless and irresponsible, and causes harm to your
reputation as well. Trust is an important part of being successful in an
open source project.

--
Jens Axboe