Re: [PATCH] RDMA/qedr: Remove in_irq() usage from debug output.

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

 



On Mon, Feb 08, 2021 at 08:33:47PM +0100, Sebastian Andrzej Siewior wrote:
> qedr_gsi_post_send() has a debug output which prints the return value of
> in_irq() and irqs_disabled().
> The result of the in_irq(), even if invoked from an interrupt handler,
> is subject to change depending on the `threadirqs' command line switch.
> The result of irqs_disabled() is always be 1 because the function
> acquires spinlock_t with spin_lock_irqsave().
> 
> Remove in_irq() and irqs_disabled() from the debug output because it
> provides little value.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/qedr/qedr_roce_cm.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to for-next, thanks

Jason



[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