Re: [PATCH v3 1/2] kernel.h: removed REPEAT_BYTE from kernel.h

From: Greg KH
Date: Mon Dec 18 2023 - 15:26:54 EST


On Mon, Dec 18, 2023 at 06:44:47PM +0000, tanzirh@xxxxxxxxxx wrote:
> This patch creates wordpart.h and includes it in asm/word-at-a-time.h
> for the all architectures. WORD_AT_A_TIME_CONSTANTS depends on kernel.h
> because of REPEAT_BYTE. Moving this to another header and including it
> where necessary allows us to not include the bloated kernel.h. Making
> this implicit dependancy on REPEAT_BYTE explicit allows for later
> improvements in the lib/string.c inclusion list.
>
> Suggested-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Signed-off-by: Tanzir Hasan <tanzirh@xxxxxxxxxx>

Note, your email name is not set so this will not work properly when it
is committed to the tree :(

thanks,

greg k-h