Re: [PATCH v2 5/7] Verify the absence of holes in struct jobs_eta at compile time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/13/19 8:20 PM, Bart Van Assche wrote:
> This helps to verify the correctness of a later patch that will modify
> this structure.

I'm fine with this solution (for packed vs unpacked), but we already
have compiletime_assert() for these kinds of checked. Sorry, forgot
to mention that first time around.

-- 
Jens Axboe




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux