Re: [PATCH rdma-rc] RDMA/netlink: Annotate unused function that is needed for compilation check
From: Jason Gunthorpe
Date: Tue Nov 16 2021 - 12:52:20 EST
On Sun, Nov 07, 2021 at 08:40:47AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> >> drivers/infiniband/core/nldev.c:2543:1: warning: unused function '__chk_RDMA_NL_NLDEV'
> MODULE_ALIAS_RDMA_NETLINK(RDMA_NL_NLDEV, 5);
> ^
>
> Fixes: e3bf14bdc17a ("rdma: Autoload netlink client modules")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> include/rdma/rdma_netlink.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to for-rc, thanks
Jason