linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] ipmi: NULL device printing in check_set_rcv_irq()
@ 2016-11-07  9:57 Corentin Labbe
  2016-11-07 18:35 ` [PATCH] Move platform device creation earlier in the initialization minyard
  0 siblings, 1 reply; 3+ messages in thread
From: Corentin Labbe @ 2016-11-07  9:57 UTC (permalink / raw)
  To: minyard; +Cc: openipmi-developer, linux-kernel

Hello

On one of my servers I got this line in dmesg
(NULL device *): The BMC does not support setting the recv irq bit, compensating, but the BMC needs to be fixed.

This printing is done via a dev_warn(smi_info->dev,) in drivers/char/ipmi/ipmi_si_intf.c:check_clr_rcv_irq() but smi_info->dev is set only latter in try_smi_init().

I do not know which way is better to fix it, either move the code block which register the device before check_for_broken_irqs(), or perhaps replace dev_warn by pr_warn.

Regards
Corentin Labbe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-24 15:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07  9:57 [BUG] ipmi: NULL device printing in check_set_rcv_irq() Corentin Labbe
2016-11-07 18:35 ` [PATCH] Move platform device creation earlier in the initialization minyard
2016-11-24 15:59   ` Corentin Labbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).