[Intel-gfx] [PATCH 09/21] fbcon: Replace FBCON_FLAGS_INIT with a boolean

Sam Ravnborg sam at ravnborg.org
Thu Feb 3 21:30:16 UTC 2022


On Mon, Jan 31, 2022 at 10:05:40PM +0100, Daniel Vetter wrote:
> It's only one flag and slightly tidier code.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Tetsuo Handa <penguin-kernel at I-love.SAKURA.ne.jp>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Du Cheng <ducheng2 at gmail.com>
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Claudio Suarez <cssk at net-c.es>
Acked-by: Sam Ravnborg <sam at ravnborg.org>

Next step is to convert some of the int flags to bool - so it is obvious
this is bool and not an int.
I do not like bitfields for bools when there is no big win in memory
usage - so not fan of that suggestion.

	Sam


More information about the Intel-gfx mailing list