[bug report] drm: remove usage of drm_pci_alloc/free

Joseph Kogut joseph.kogut at gmail.com
Fri May 14 16:34:27 UTC 2021


On Fri, May 14, 2021 at 8:13 AM Joseph Kogut <joseph.kogut at gmail.com> wrote:
>
> Hi Dan,
>
> On Fri, May 14, 2021 at 6:54 AM Dan Carpenter <dan.carpenter at oracle.com> wrote:
> >
> > Hello Joseph Kogut,
> >
> > The patch 70556e24e18e: "drm: remove usage of drm_pci_alloc/free"
> > from Apr 22, 2021, leads to the following static checker warning:
> >
> >     drivers/gpu/drm/drm_bufs.c:1090 drm_legacy_addbufs_pci()
> >     warn: inconsistent returns '&dev->struct_mutex'.
> >       Locked on  : 988
> >       Unlocked on: 938,944,951,959,973,1005,1042,1060,1090
> >

Do you mind if I copy this portion of the bug report in the commit message?


More information about the dri-devel mailing list