[PATCH] agp: check if ndevs is zero before enabling node

Greg KH gregkh at linuxfoundation.org
Thu May 13 14:13:31 UTC 2021


On Thu, May 13, 2021 at 09:53:32PM +0800, Yiyuan GUO wrote:
> In function agp_3_5_enable from drivers/char/agp/isoch.c, the
> variable ndevs may remain zero if all AGP devices have type of
> "Bridge" or "Unclassified device".

Can that actually happen with real hardware?  Given the age of AGP code,
odds are if this could have happened, it would have by now :)

thanks,

greg k-h


More information about the dri-devel mailing list