Thread (3 messages) 3 messages, 3 authors, 29d ago

Re: [PATCH net-next v3] net: 8390: pcnet_cs: release PCMCIA window on setup_shmem_window() error

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-16 00:11:21
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Sun, 13 Sep 2026 16:41:04 -0400 you wrote:
setup_shmem_window() acquires a PCMCIA memory window using
pcmcia_request_window(). If pcmcia_map_mem_page() or the subsequent
ioremap() fails, the function returns without releasing the requested
window.

pcnet_config() treats shared-memory setup failure as non-fatal and falls
back to setup_dma_config(). Probe can therefore continue while socket
window 3 and its reserved iomem range remain unnecessarily held for the
rest of the bound lifetime of the device. pcmcia_disable_device()
eventually releases the window during teardown.

[...]
Here is the summary with links:
  - [net-next,v3] net: 8390: pcnet_cs: release PCMCIA window on setup_shmem_window() error
    https://git.kernel.org/netdev/net-next/c/30da1c2a4150

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help