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, 2018-07-10 at 12:40 -0600, Jason Gunthorpe wrote:
> 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

Ah, that's a good idea. I will follow your proposal.

Bart.




��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[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