patch "staging: sm750fb: Fix parameter mistake in poke32" added to staging-testing
This is a note to let you know that I've just added the patch titled
staging: sm750fb: Fix parameter mistake in poke32
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon, after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
Quoted 1 line
From
16808dcf605e6302319a8c3266789b76d4c0983bMon Sep 17 00:00:00 2001
From: Huacai Chen <[email protected]>
Date: Mon, 6 Nov 2017 08:43:03 +0800
Subject: staging: sm750fb: Fix parameter mistake in poke32
In commit c075b6f2d357ea9 ("staging: sm750fb: Replace POKE32 and PEEK32 by inline functions"), POKE32 has been replaced by the inline function poke32. But it exchange the "addr" and "data" parameters by mistake, so fix it.
--- drivers/staging/sm750fb/ddk750_chip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/ddk750_chip.h +1 -1
@@ -17,7 +17,7 @@ static inline u32 peek32(u32 addr)return readl (addr + mmio750); } -static inline void poke32 (u32 data,u32 addr) +static inline void poke32 (u32 addr,u32 data) {writel (data, addr + mmio750); }
Signature · 1 line
2.15.0