IB/hfi1: Ratelimit prints from sdma_interrupt
authorGrzegorz Morys <grzegorz.morys@intel.com>
Tue, 22 Aug 2017 01:26:38 +0000 (18:26 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:18 +0000 (19:12 -0400)
commitde42de80d7bb4f82e30d16f5c64da90e64b6c644
treebe87633e1d0a328483bf180c095c45a232da7160
parent27147273a68ecf5738ef87ccc6cd4bb8883fca84
IB/hfi1: Ratelimit prints from sdma_interrupt

Ratelimit error prints from sdma_interrupt function
that could swarm dmesg otherwise.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Grzegorz Morys <grzegorz.morys@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/hfi.h