On Thu, 2019-01-31 at 15:36 -0600, Bjorn Helgaas wrote:
> On Thu, Jan 31, 2019 at 04:01:52PM +0800, honghui.zh...@mediatek.com wrote:
> > From: Honghui Zhang
> >
> > scripts/coccinelle/api/resource_size.cocci complain about the
> > following warning:
> >
> > pcie-mediatek.c:720:13-16: WARNING: S
On Thu, Jan 31, 2019 at 04:01:52PM +0800, honghui.zh...@mediatek.com wrote:
> From: Honghui Zhang
>
> scripts/coccinelle/api/resource_size.cocci complain about the
> following warning:
>
> pcie-mediatek.c:720:13-16: WARNING: Suspicious code. resource_size is maybe
> missing with mem
>
> Use re
From: Honghui Zhang
scripts/coccinelle/api/resource_size.cocci complain about the
following warning:
pcie-mediatek.c:720:13-16: WARNING: Suspicious code. resource_size is maybe
missing with mem
Use resource_size(mem) instead of mem->end - mem->start to eliminate the
complain. Since the MMIO wi
3 matches
Mail list logo