summaryrefslogtreecommitdiff
path: root/drivers/staging/kpc2000/kpc2000/core.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-06-05 18:54:21 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-06 15:03:34 +0200
commit89a237aa84c7047cafba99f5dc81983ed0c40704 (patch)
tree75763b322e128f4cbbd0a1998954e5f5f1ccd6ec /drivers/staging/kpc2000/kpc2000/core.c
parent7942b209ade7c0671a228e4b9b7519d4c79c6e71 (diff)
staging: kpc2000: Use '%llx' for printing 'long long int' type
In order to print a 'long long int' type the 'llx' specifier needs to be used. Change it accordingly in order to fix the following build warning: drivers/staging/kpc2000/kpc2000/core.c:245:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=] Reported-by: Build bot for Mark Brown <broonie@kernel.org> Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc2000/core.c')
-rw-r--r--drivers/staging/kpc2000/kpc2000/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/kpc2000/kpc2000/core.c b/drivers/staging/kpc2000/kpc2000/core.c
index cd3876f1ce17..93e381198b45 100644
--- a/drivers/staging/kpc2000/kpc2000/core.c
+++ b/drivers/staging/kpc2000/kpc2000/core.c
@@ -241,7 +241,7 @@ static int read_system_regs(struct kp2000_device *pcard)
read_val = readq(pcard->sysinfo_regs_base + REG_MAGIC_NUMBER);
if (read_val != KP2000_MAGIC_VALUE) {
dev_err(&pcard->pdev->dev,
- "Invalid magic! Got: 0x%016llx Want: 0x%016lx\n",
+ "Invalid magic! Got: 0x%016llx Want: 0x%016llx\n",
read_val, KP2000_MAGIC_VALUE);
return -EILSEQ;
}