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

Dan Carpenter dan.carpenter at oracle.com
Sat May 15 06:57:06 UTC 2021


On Fri, May 14, 2021 at 09:34:27AM -0700, Joseph Kogut wrote:
> 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?

Yeah, that's normal.  No need to ask.

regards,
dan carpenter


More information about the dri-devel mailing list