Re: [PATCH 0/5] kallsyms: make kallsym APIs more safe with scnprintf

2022-05-21 Thread Christoph Hellwig
On Fri, May 20, 2022 at 02:06:56PM +0530, Maninder Singh wrote: > kallsyms functionality depends on KSYM_NAME_LEN directly. > but if user passed array length lesser than it, sprintf > can cause issues of buffer overflow attack. > > So changing *sprint* and *lookup* APIs in this patch set > to have

Re: [PATCH V2] tools/perf/tests: Fix session topology test to skip the test in guest environment

2022-05-21 Thread Arnaldo Carvalho de Melo
Em Sat, May 21, 2022 at 10:16:59AM +0530, Athira Rajeev escreveu: > > On 14-May-2022, at 12:03 AM, Ian Rogers wrote: > > On Thu, May 12, 2022 at 11:18 PM Disha Goel > > wrote: > >> Tested the patch on powerpc and powernv, session topology test works fine > >> with the patch. > >> Tested-by: Dis

Re: [PATCH] net: fs_enet: sync rx dma buffer before reading

2022-05-21 Thread Jakub Kicinski
On Sat, 21 May 2022 06:44:41 + Christophe Leroy wrote: > > Hm, I think the patch is necessary, sorry if you're also saying that > > and I'm misinterpreting. > > Well, I say the contrary. > > On the mainline the patch may be applied as is, it won't harm. > > However, it is gets applied to k

[powerpc:next] BUILD SUCCESS 34f0971f8ca73d7e5502b4cf299788a9402120f7

2022-05-21 Thread kernel test robot
randconfig-a011 x86_64randconfig-a013 x86_64randconfig-a015 i386 randconfig-a012 i386 randconfig-a014 i386 randconfig-a016 arc randconfig-r043-20220521

[PATCH] cxl: fix typo in comment

2022-05-21 Thread Julia Lawall
Spelling mistake (triple letters) in comment. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall --- include/misc/cxl.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/misc/cxl.h b/include/misc/cxl.h index 0410412de16b..d8044299d654 100644 --- a/inc

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-05-21 Thread Peter Zijlstra
On Sat, May 21, 2022 at 09:38:35AM +, Christophe Leroy wrote: > I gave it a try this morning, I selected HAVE_OBJTOOL and > HAVE_OBJTOOL_MCOUNT from arch/powerpc/Kconfig > > > Seems like there are still some x86 arch specific stuff in common common > code and I get the following errors. I

Re: [RFC PATCH 3/3] objtool/mcount: Add powerpc specific functions

2022-05-21 Thread Christophe Leroy
Le 12/05/2022 à 17:12, Josh Poimboeuf a écrit : > On Thu, May 12, 2022 at 02:52:40PM +, Christophe Leroy wrote: >> Hi Josh, >> >> Le 28/03/2022 à 21:59, Josh Poimboeuf a écrit : >>> On Sun, Mar 27, 2022 at 09:09:20AM +, Christophe Leroy wrote: What are current works in progress on objt