ipmi: fix platform return check
The wrong return value is being tested when allocating a platform device in the IPMI SI code. Check the right value. Signed-off-by: NCorey Minyard <minyard@acm.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录