Re: Potential NULL dereference id_entry

2022-04-30 Thread Jonathan Gray
On Sat, Apr 30, 2022 at 07:54:12PM -0600, Ted Bullock wrote: > in radeondrm_attach_kms:508 could potentially fail and result in a NULL > dereference at line 510. Check this with KASSERT(). This can not happen. drm_pciprobe() uses drm_find_description() if it returned NULL the driver would not mat

Potential NULL dereference id_entry

2022-04-30 Thread Ted Bullock
in radeondrm_attach_kms:508 could potentially fail and result in a NULL dereference at line 510. Check this with KASSERT(). diff 5fbcee9a5968b225053e9e1b0363430e36326626 /usr/src blob - 94f38e8769827e9c649147689a9ca6f889d1464f file + sys/dev/pci/drm/radeon/radeon_kms.c --- sys/dev/pci/drm/radeon/r