bpkfs: fix compiler warning
Correct formatstring of size_t is %zu otherwise we get: fs/bpkfs.c: In function ‘bpkfs_probe’: fs/bpkfs.c:440:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=] dev_dbg(dev, "%d: offset = %d\n", i, d->offset); Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
68fc6e6eae
commit
a6f19bc782
|
@ -437,7 +437,7 @@ static int bpkfs_probe(struct device_d *dev)
|
|||
|
||||
dev_dbg(dev, "%d: type = 0x%x => %s\n", i, d->type, d->name);
|
||||
dev_dbg(dev, "%d: size = %llu\n", i, d->size);
|
||||
dev_dbg(dev, "%d: offset = %d\n", i, d->offset);
|
||||
dev_dbg(dev, "%d: offset = %zu\n", i, d->offset);
|
||||
|
||||
dev_dbg(dev, "%d: hw_id = 0x%x => %s\n", i, h->hw_id, h->name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue