Re: [PATCH 1/3] compiler.h: define __do_not_initialize

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

 



On Tue, Feb 25, 2020 at 5:16 AM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> On Mon, Feb 24, 2020 at 04:34:59PM +0100, glider@xxxxxxxxxx wrote:
> > For CONFIG_INIT_STACK_ALL it's sometimes handy to disable
> > force-initialization for a local variable, if it is known to be initialized
> > later on before the first use. This can be done by using the
> > __do_not_initialize macro.
>
> Nit-pick: other things are listed as __no_$feature. What about naming
> this __no_initialize (or reuse the attribute name of __uninitialized)?
I agree that __no_initialize is more consistent (and also shorter than
__do_not_initialize).
Let's stick with this name.

> Please CC lkml as well in the future.
Ok, will do.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux