Re: [PATCH] RDMA/nes: Suppress warnings about variables that are only used in debug mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 10, 2018 at 11:30:31AM -0700, Bart Van Assche wrote:
> Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx>
> ---
>  drivers/infiniband/hw/nes/nes_cm.c    | 8 ++++----
>  drivers/infiniband/hw/nes/nes_hw.c    | 2 +-
>  drivers/infiniband/hw/nes/nes_utils.c | 2 +-
>  drivers/infiniband/hw/nes/nes_verbs.c | 4 ++--
>  4 files changed, 8 insertions(+), 8 deletions(-)

Fix nes_debug to be an empty static inline and these warnings should
go away without __maybe_unused

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux