summaryrefslogtreecommitdiff
path: root/include/rdma/opa_smi.h
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-30 16:09:51 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-02-02 08:14:25 +0200
commitf4737a62033d7f3e0db740c449fc62119da7ab8a (patch)
tree70ec1b8120d4d2941d814589ec038db26b272560 /include/rdma/opa_smi.h
parent62e13097c46c69dbd7544ab2cd585ccf48f360a4 (diff)
brcmfmac: check brcmf_bus_get_memdump result for error
This method may be unsupported (see: USB bus) or may just fail (see: SDIO bus). While at it rework logic in brcmf_sdio_bus_get_memdump function to avoid too many conditional code nesting levels. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/rdma/opa_smi.h')
0 files changed, 0 insertions, 0 deletions
y pointless in this code because the timer is strictlty per CPU, initialized as pinned and all operations which arm the timer happen on the CPU to which the timer belongs. Simplify the whole machinery by using mod_timer() instead of add_timer_on() which avoids the problem because mod_timer() can handle already queued timers. Use __start_timer() everywhere so the earliest armed expiry time is preserved. Reported-by: Erik Veijola <erik.veijola@intel.com> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/soc/codecs/wm9081.h')
='diffstat' class='diffstat'>