Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()
Hi, > On Fri, 29 Jan 2021 17:01:35 +0100 > Gregory CLEMENT wrote: > >> Could you sent me the patch I don't have it in my emails boxes. > > https://lore.kernel.org/lkml/20201112032149.21906-1-chris.pack...@alliedtelesis.co.nz/raw Applied on mvebu/arm Thanks, Gregory > > Thomas > -- > Thomas Petazzoni, CTO, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com
Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()
On Fri, 29 Jan 2021 17:01:35 +0100 Gregory CLEMENT wrote: > Could you sent me the patch I don't have it in my emails boxes. https://lore.kernel.org/lkml/20201112032149.21906-1-chris.pack...@alliedtelesis.co.nz/raw Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()
On Tue, 26 Jan 2021 01:48:23 + Chris Packham wrote: > Hi All, > > On 12/11/20 9:02 pm, Thomas Petazzoni wrote: > > On Thu, 12 Nov 2020 16:21:49 +1300 > > Chris Packham wrote: > > > >> make coccicheck complains: > >> > >>./drivers/bus/mvebu-mbus.c:1113:2-8: ERROR: missing iounmap; ioremap on > >> line 1106 and execution via conditional on line > >> > >> It took some staring but I don't think there is a problem because the > >> file global `mbus_state` is passed mvebu_mbus_common_init() as the > >> `mbus` parameter so `mbus_state.mbuswins_base` and `mbus->mbuswins_base` > >> are the same thing. But this is confusing for anyone reading the code > >> and one less complaint from coccicheck would be nice so lets fix it. > >> > >> Signed-off-by: Chris Packham > > Acked-by: Thomas Petazzoni > > Just going through some old branches. This doesn't seem to have been > picked up. Have I missed a maintainer? +Gregory Clement in Cc. Greg, the original patch from Chris is touching drivers/bus/mvebu-mbus.c, so I think you should be taking that patch. Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()
Hi All, On 12/11/20 9:02 pm, Thomas Petazzoni wrote: > On Thu, 12 Nov 2020 16:21:49 +1300 > Chris Packham wrote: > >> make coccicheck complains: >> >>./drivers/bus/mvebu-mbus.c:1113:2-8: ERROR: missing iounmap; ioremap on >> line 1106 and execution via conditional on line >> >> It took some staring but I don't think there is a problem because the >> file global `mbus_state` is passed mvebu_mbus_common_init() as the >> `mbus` parameter so `mbus_state.mbuswins_base` and `mbus->mbuswins_base` >> are the same thing. But this is confusing for anyone reading the code >> and one less complaint from coccicheck would be nice so lets fix it. >> >> Signed-off-by: Chris Packham > Acked-by: Thomas Petazzoni Just going through some old branches. This doesn't seem to have been picked up. Have I missed a maintainer?
Re: [PATCH] bus: mvebu-mbus: make iounmap() symmetric with ioremap()
On Thu, 12 Nov 2020 16:21:49 +1300 Chris Packham wrote: > make coccicheck complains: > > ./drivers/bus/mvebu-mbus.c:1113:2-8: ERROR: missing iounmap; ioremap on > line 1106 and execution via conditional on line > > It took some staring but I don't think there is a problem because the > file global `mbus_state` is passed mvebu_mbus_common_init() as the > `mbus` parameter so `mbus_state.mbuswins_base` and `mbus->mbuswins_base` > are the same thing. But this is confusing for anyone reading the code > and one less complaint from coccicheck would be nice so lets fix it. > > Signed-off-by: Chris Packham Acked-by: Thomas Petazzoni Thanks! Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com