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

2021-05-15 Thread Dan Carpenter
On Fri, May 14, 2021 at 09:34:27AM -0700, Joseph Kogut wrote: > On Fri, May 14, 2021 at 8:13 AM Joseph Kogut wrote: > > > > Hi Dan, > > > > On Fri, May 14, 2021 at 6:54 AM Dan Carpenter > > wrote: > > > > > > Hello Joseph Kogut, > > > > > > The patch 70556e24e18e: "drm: remove usage of

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

2021-05-14 Thread Joseph Kogut
On Fri, May 14, 2021 at 8:13 AM Joseph Kogut wrote: > > Hi Dan, > > On Fri, May 14, 2021 at 6:54 AM Dan Carpenter > 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:

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

2021-05-14 Thread Joseph Kogut
Hi Dan, On Fri, May 14, 2021 at 6:54 AM Dan Carpenter 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() >

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

2021-05-14 Thread Dan Carpenter
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 '>struct_mutex'. Locked on : 988