diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-03-01 00:34:41 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-03-01 00:34:41 +0100 |
commit | 87023bc2ed11ea6b0944b34cc0281454c01832bf (patch) | |
tree | 4f3da1dde11f455a635f7f9c4166208a11aec1dd /drivers/bus | |
parent | 3f2242ec4068fba76f353b384a79bcae81dd1e2d (diff) | |
parent | febe6569fae4b5e663f0a31d9dbf054d3b588ff5 (diff) | |
download | linux-87023bc2ed11ea6b0944b34cc0281454c01832bf.tar.gz linux-87023bc2ed11ea6b0944b34cc0281454c01832bf.tar.bz2 linux-87023bc2ed11ea6b0944b34cc0281454c01832bf.zip |
Merge tag 'sunxi-drivers-for-4.6' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into next/drivers
Merge "Allwinner drivers changes for 4.6" from Maxime Ripard:
Some minor fixes for the RSB and SRAM controller drivers
* tag 'sunxi-drivers-for-4.6' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
drivers: soc: sunxi: Fix mask generation for SRAM mapping
drivers: sunxi-rsb: fix error output type
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/sunxi-rsb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c index 25996e256110..795c9d9c96a6 100644 --- a/drivers/bus/sunxi-rsb.c +++ b/drivers/bus/sunxi-rsb.c @@ -330,7 +330,7 @@ static int sunxi_rsb_read(struct sunxi_rsb *rsb, u8 rtaddr, u8 addr, cmd = RSB_CMD_RD32; break; default: - dev_err(rsb->dev, "Invalid access width: %d\n", len); + dev_err(rsb->dev, "Invalid access width: %zd\n", len); return -EINVAL; } @@ -372,7 +372,7 @@ static int sunxi_rsb_write(struct sunxi_rsb *rsb, u8 rtaddr, u8 addr, cmd = RSB_CMD_WR32; break; default: - dev_err(rsb->dev, "Invalid access width: %d\n", len); + dev_err(rsb->dev, "Invalid access width: %zd\n", len); return -EINVAL; } |