Re: [PATCH 00/34] biops: add atomig find_bit() operations

2023-11-18 Thread Sergey Shtylyov
On 11/18/23 7:18 PM, Bart Van Assche wrote: [...] >> Add helpers around test_and_{set,clear}_bit() that allow to search for >> clear or set bits and flip them atomically. > > There is a typo in the subject: shouldn't "atomig" be changed > into "atomic"? And "biops" to "bitops"? :-) > Thanks,

[PATCH 00/13] Make user_regset_copyin_ignore() *void*

2022-10-14 Thread Sergey Shtylyov
s first remove the result checks in several architectures that call this function and then make user_regset_copyin_ignore() return *void* instead of *int*... Sergey Shtylyov (13): arc: ptrace: user_regset_copyin_ignore() always returns 0 arm: ptrace: user_regset_copyin_ignore

[PATCH 10/13] powerpc: ptrace: user_regset_copyin_ignore() always returns 0

2022-10-14 Thread Sergey Shtylyov
user_regset_copyin_ignore() always returns 0, so checking its result seems pointless -- don't do this anymore... Signed-off-by: Sergey Shtylyov --- arch/powerpc/kernel/ptrace/ptrace-tm.c | 10 +- arch/powerpc/kernel/ptrace/ptrace-view.c | 10 +- 2 files changed, 10 inser

Re: [PATCH v3 10/24] sparc: Remove COMMAND_LINE_SIZE from uapi

2023-02-14 Thread Sergey Shtylyov
On 2/14/23 10:49 AM, Alexandre Ghiti wrote: > From: Palmer Dabbelt > > As far as I can tell this is not used by userspace and thus should not > be part of the user-visible API. > > Signed-off-by: Palmer Dabbelt > --- > arch/sparc/include/asm/setup.h | 6 +- > arch/sparc/include/uapi/

Re: [PATCH v3 10/24] sparc: Remove COMMAND_LINE_SIZE from uapi

2023-02-14 Thread Sergey Shtylyov
On 2/14/23 11:59 AM, WANG Xuerui wrote: [...] >>> From: Palmer Dabbelt >>> >>> As far as I can tell this is not used by userspace and thus should not >>> be part of the user-visible API. >>> >>> Signed-off-by: Palmer Dabbelt >>> --- >>>   arch/sparc/include/asm/setup.h  | 6 +- >>>   arch

[PATCH v2 7/9] usb: phy: fsl-usb: add IRQ check

2021-08-09 Thread Sergey Shtylyov
Fixes: 0807c500a1a6 ("USB: add Freescale USB OTG Transceiver driver") Signed-off-by: Sergey Shtylyov --- drivers/usb/phy/phy-fsl-usb.c |2 ++ 1 file changed, 2 insertions(+) Index: usb/drivers/usb/phy/phy-fsl-usb.c === --- u

Re: consolidate the compat fcntl definitions

2022-01-12 Thread Sergey Shtylyov
Hello! On 1/11/22 11:35 AM, Christoph Hellwig wrote: > currenty the compat fcnt definitions are duplicate for all compat fcntl? > architectures, and the native fcntl64 definitions aren't even usable > from userspace due to a bogus CONFIG_64BIT ifdef. This series tries > to sort out all that

Re: [PATCH 7/9] ata: pata_falcon: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Atari Falcon PATA driver does not need anything from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH 8/9] ata: pata_gayle: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Amiga Gayle PATA driver does not need anything from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH 6/9] ata: pata_buddha: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Buddha, Catweasel, and X-Surf PATA driver does not need anything > from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH AUTOSEL 5.15 11/19] usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc

2023-09-09 Thread Sergey Shtylyov
On 9/9/23 3:38 AM, Sasha Levin wrote: > From: Ma Ke > > [ Upstream commit ce9daa2efc0872a9a68ea51dc8000df05893ef2e ] > > We should verify the bound of the array to assure that host > may not manipulate the index to point past endpoint array. > > Signed-off-by: Ma Ke > Acked-by: Li Yang > Lin