Re: [PATCH] um: vector: fix return value check in vector_mmsg_rx

2023-10-06 Thread Anton Ivanov
On 07/10/2023 01:51, Ma Ke wrote: In vector_mmsg_rx, to avoid an unexpected result returned by pskb_trim, we should check the return value of pskb_trim(). Signed-off-by: Ma Ke --- arch/um/drivers/vector_kern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/dr

[PATCH] um: vector: fix return value check in vector_mmsg_rx

2023-10-06 Thread Ma Ke
In vector_mmsg_rx, to avoid an unexpected result returned by pskb_trim, we should check the return value of pskb_trim(). Signed-off-by: Ma Ke --- arch/um/drivers/vector_kern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/um/drivers/vector_kern.c b/arch/um/drivers/

Re: Arches that don't support PREEMPT

2023-10-06 Thread Geert Uytterhoeven
Hi Willy, On Tue, Sep 19, 2023 at 3:01 PM Matthew Wilcox wrote: > On Tue, Sep 19, 2023 at 02:30:59PM +0200, Thomas Gleixner wrote: > > Though it just occured to me that there are dragons lurking: > > > > arch/alpha/Kconfig: select ARCH_NO_PREEMPT > > arch/hexagon/Kconfig: select ARCH_NO_PRE

[PATCH] um: vector: fix return value check in vector_legacy_rx

2023-10-06 Thread Ma Ke
In vector_legacy_rx, to avoid an unexpected result returned by pskb_trim, we should check the return value of pskb_trim(). Signed-off-by: Ma Ke --- arch/um/drivers/vector_kern.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/um/drivers/vector_kern.c b/arch/um/drivers/