[PATCH] ARC: Remove a redundant memset()

2022-03-22 Thread Christophe JAILLET
disasm_instr() already call memset(0) on its 2nd argument, so there is no need to clear it explicitly before calling this function. Remove the redundant memset(). Signed-off-by: Christophe JAILLET --- arch/arc/kernel/disasm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arc/kernel

[PATCH] bit_spinlock: Include

2023-01-08 Thread Christophe JAILLET
://lore.kernel.org/all/202301082130.lxmj5qkd-...@intel.com/ Signed-off-by: Christophe JAILLET --- Not sure who to send this to. get_maintainer.pl is of no help, and the file is untouched from a too long time. Greg? Dan? Any pointer? --- include/linux/bit_spinlock.h | 1 + 1 file changed, 1 insertion

Re: [PATCH] bit_spinlock: Include

2023-01-10 Thread Christophe JAILLET
Le 10/01/2023 à 08:19, Vineet Gupta a écrit : On 1/8/23 11:04, Christophe JAILLET wrote: In an attempt to simplify some includes in , it appeared, when compiling fs/ecryptfs/dentry.c, that was relying on other includes to get the definition of cpu_relax(). (see [1]) It broke on arc. It

[PATCH v2] bit_spinlock: Include

2023-01-10 Thread Christophe JAILLET
://lore.kernel.org/all/202301082130.lxmj5qkd-...@intel.com/ Signed-off-by: Christophe JAILLET --- Change in v2: - include instead of(Andrew Morton) v1: https://lore.kernel.org/all/8b81101d59a31f4927016c17e49be96754a23380.1673204461.git.christophe.jail...@wanadoo.fr/ --- include/linux