summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-generic.c
diff options
context:
space:
mode:
authorxiongweimin <xiongweimin@kylinos.cn>2026-07-13 09:04:39 +0800
committerLeon Romanovsky <leon@kernel.org>2026-07-15 04:40:51 -0400
commit9eab9eb2225912665fbee5fa13925232fd13881a (patch)
treefa0d91eeac56037547fd998074d7373833933465 /drivers/rtc/rtc-generic.c
parent21680554a8d1c5d3fec68a580bf462ba89bb913b (diff)
downloadlinux-next-9eab9eb2225912665fbee5fa13925232fd13881a.tar.gz
linux-next-9eab9eb2225912665fbee5fa13925232fd13881a.zip
RDMA/rxe: Reject unimplemented implicit ODP cleanly
rxe advertises ODP but not IB_ODP_SUPPORT_IMPLICIT. The reg_user_mr path still contained a dead branch that checked the implicit capability and could never succeed. Return -EOPNOTSUPP for the implicit ODP address range up front so the intent is obvious and the unreachable code is gone. Signed-off-by: xiongweimin <xiongweimin@kylinos.cn> Cc: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe <jgg@nvidia.com> Link: https://patch.msgid.link/20260713010439.331054-1-15927021679@163.com Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions