diff options
author | Sean Anderson | 2023-02-22 15:42:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-03-11 13:55:25 +0100 |
commit | d28467230dd9b9d560e1003a5c5c58d3ddf457c0 (patch) | |
tree | 85fabe7a87d0c7a61b0c74eb9987949caa624459 /include/net/sctp/structs.h | |
parent | e3aa5d1bb1b2bdc6e0649d27b7eaa02d03f5f040 (diff) |
net: sunhme: Fix region request
[ Upstream commit ee0a735fd97ccde766ab557d1fc722c92cebacda ]
devm_request_region is for I/O regions. Use devm_request_mem_region
instead. This fixes the driver failing to probe since 99df45c9e0a4
("sunhme: fix an IS_ERR() vs NULL check in probe"), which checked the
result.
Fixes: 914d9b2711dd ("sunhme: switch to devres")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20230222204242.2658247-1-seanga2@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/sctp/structs.h')
0 files changed, 0 insertions, 0 deletions