diff mbox series

spi: bcm2835: Fixes bare use of unsigned

Message ID 20200503200033.GA3256@vasteMachine (mailing list archive)
State Mainlined
Commit e37687c98ab9ee5872e672b81c44932cf5356d58
Headers show
Series spi: bcm2835: Fixes bare use of unsigned | expand

Commit Message

Jacko Dirks May 3, 2020, 8 p.m. UTC
Signed-off-by: Jacko Dirks <jdirks.linuxdev@gmail.com>
---
 drivers/spi/spi-bcm2835.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Mark Brown May 5, 2020, 12:50 p.m. UTC | #1
On Sun, 3 May 2020 22:00:33 +0200, Jacko Dirks wrote:
> Signed-off-by: Jacko Dirks <jdirks.linuxdev@gmail.com>
> ---
>  drivers/spi/spi-bcm2835.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
> index 11c235879bb7..e10b8f3b4bab 100644
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.8

Thanks!

[1/1] spi: bcm2835: Fixes bare use of unsigned
      commit: e37687c98ab9ee5872e672b81c44932cf5356d58

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index 11c235879bb7..e10b8f3b4bab 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -191,12 +191,12 @@  static void bcm2835_debugfs_remove(struct bcm2835_spi *bs)
 }
 #endif /* CONFIG_DEBUG_FS */
 
-static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned reg)
+static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg)
 {
 	return readl(bs->regs + reg);
 }
 
-static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned reg, u32 val)
+static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val)
 {
 	writel(val, bs->regs + reg);
 }