firmware: stratix10-rsu: fix warnings
authorRichard Gong <richard.gong@intel.com>
Wed, 3 Jun 2020 14:06:52 +0000 (09:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jul 2020 12:48:48 +0000 (14:48 +0200)
commit52f944ee5d39b6b93797480f9181d3d40ed0d07b
tree771cf9c363599905d1be7117a36b68aab650728a
parentf38018968fd01edbc18adfcf6512ccc397af49ef
firmware: stratix10-rsu: fix warnings

Patch fixes sparse warnings: using plain integer as NULL pointer. Replaces
equal to with logical not operator.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Richard Gong <richard.gong@intel.com>
Link: https://lore.kernel.org/r/1591193212-15082-1-git-send-email-richard.gong@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/stratix10-rsu.c