[PATCH] block: ps3disk: Use str_read_write() helper

2025-04-01 Thread shao.mingyin
From: Feng Wei Remove hard-coded strings by using the str_read_write() helper. Signed-off-by: Feng Wei Signed-off-by: Shao Mingyin --- drivers/block/ps3disk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/ps3disk.c b/drivers/block/ps3disk.c index dc9e4a14

[PATCH v1] ASoC: imx-card: Add NULL check in imx_card_probe()

2025-04-01 Thread Henry Martin
devm_kasprintf() returns NULL when memory allocation fails. Currently, imx_card_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue. Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver") Signe

Re: [PATCH net] net: ibmveth: make veth_pool_store stop hanging

2025-04-01 Thread Paolo Abeni
On 3/31/25 11:23 PM, davem...@linux.ibm.com wrote: > From: Dave Marquardt > > Use rtnl_mutex to synchronize veth_pool_store with itself, > ibmveth_close and ibmveth_open, preventing multiple calls in a row to > napi_disable. > > Signed-off-by: Dave Marquardt > Fixes: 860f242eb534 ("[PATCH] ibmv

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Josh Poimboeuf
On Tue, Apr 01, 2025 at 10:53:46AM -0700, Guenter Roeck wrote: > On 4/1/25 10:08, Peter Zijlstra wrote: > > > + if (!KUNIT_IS_SUPPRESSED_WARNING(__func__)) \ > > > + _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ > > > instrumentation_end();

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Guenter Roeck
On 4/1/25 10:08, Peter Zijlstra wrote: On Thu, Mar 13, 2025 at 11:43:21AM +, Alessandro Carminati wrote: From: Guenter Roeck Add name of functions triggering warning backtraces to the __bug_table object section to enable support for suppressing WARNING backtraces. To limit image size impa

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Peter Zijlstra
On Thu, Mar 13, 2025 at 11:43:21AM +, Alessandro Carminati wrote: > From: Guenter Roeck > > Add name of functions triggering warning backtraces to the __bug_table > object section to enable support for suppressing WARNING backtraces. > > To limit image size impact, the pointer to the functio

Re: [PATCH net] net: ibmveth: make veth_pool_store stop hanging

2025-04-01 Thread Simon Horman
On Mon, Mar 31, 2025 at 04:23:28PM -0500, davem...@linux.ibm.com wrote: > From: Dave Marquardt > > Use rtnl_mutex to synchronize veth_pool_store with itself, > ibmveth_close and ibmveth_open, preventing multiple calls in a row to > napi_disable. > > Signed-off-by: Dave Marquardt > Fixes: 860f24

Re: [PATCH v1] ASoC: imx-card: Add NULL check in imx_card_probe()

2025-04-01 Thread Frank Li
On Tue, Apr 01, 2025 at 10:25:10PM +0800, Henry Martin wrote: > devm_kasprintf() returns NULL when memory allocation fails. Currently, > imx_card_probe() does not check for this case, which results in a NULL > pointer dereference. > > Add NULL check after devm_kasprintf() to prevent this issue. > >

Re: [PATCH net] net: ibmveth: make veth_pool_store stop hanging

2025-04-01 Thread Dave Marquardt
Paolo Abeni writes: > On 3/31/25 11:23 PM, davem...@linux.ibm.com wrote: >> From: Dave Marquardt >> >> Use rtnl_mutex to synchronize veth_pool_store with itself, >> ibmveth_close and ibmveth_open, preventing multiple calls in a row to >> napi_disable. >> >> Signed-off-by: Dave Marquardt >> Fi

Re: [PATCH v3 2/2] book3s64/radix : Align section vmemmap start address to PAGE_SIZE

2025-04-01 Thread Donet Tom
On 3/10/25 6:14 PM, Donet Tom wrote: A vmemmap altmap is a device-provided region used to provide backing storage for struct pages. For each namespace, the altmap should belong to that same namespace. If the namespaces are created unaligned, there is a chance that the section vmemmap start addr

Re: [PATCH] powerpc/boot: Check for ld-option support

2025-04-01 Thread Venkat Rao Bagalkote
On 01/04/25 6:12 am, Madhavan Srinivasan wrote: Commit 579aee9fc594 ("powerpc: suppress some linker warnings in recent linker versions") enabled support to add linker option "--no-warn-rwx-segments", if the version is greater than 2.39. Similar build warning were reported recently from linker