]> git.baikalelectronics.ru Git - kernel.git/commit
arch/frv/mb93090-mb00/pci-frv.c: fix build warning
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 24 Feb 2017 23:00:11 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:56 +0000 (17:46 -0800)
commitdb654224cb7d5feac93666f018925846601a5ac3
tree264129302c92539d588cb9d45f17e3f1ea3432b0
parenta329b0eda2188117185c5c7136396dfba128d954
arch/frv/mb93090-mb00/pci-frv.c: fix build warning

The build of frv defconfig gives warning:

  arch/frv/mb93090-mb00/pci-frv.c:176:5: warning: ignoring return value of 'pci_assign_resource', declared with attribute warn_unused_result

Just print an error message to silence the warning.  We can not do much
here on error.

Link: http://lkml.kernel.org/r/1484256471-5379-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/mb93090-mb00/pci-frv.c