lib/logic_iomem: fix sparse warnings
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Jun 2021 08:34:35 +0000 (10:34 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Aug 2021 20:28:02 +0000 (22:28 +0200)
commit68fdb64485014802152725a4aec63296847f740e
tree6258df39aae1de25d3fdab5381d5484760dab8e9
parentb76dd9302af7803aac62243ae94d53067fc819b4
lib/logic_iomem: fix sparse warnings

A couple of sparse warnings happened here due to casts on
the prints, a missing static and a missing include. Fix
all of them.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: ca2e334232b6 ("lib: add iomem emulation (logic_iomem)")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
lib/logic_iomem.c