[PATCH] drm/amdgpu: address the static checker warnings

Dan Carpenter dan.carpenter at oracle.com
Tue Apr 28 11:01:36 UTC 2020


On Tue, Apr 28, 2020 at 02:31:12AM +0000, Quan, Evan wrote:
> Ping..

Are you asking me?  It's really hard for me to read your emails.
Normally email clients put "> " in front of the quoted parts of the
email.  Your email client doesn't line wrap at 72 characters either.  :(

> [Evan] No, that's true for SGPU setup only. For XGMI setup(multiple dgpus interconnected with bridges), the "hive" here is not NULL.

Presumably you are talking about out of tree code so I can't comment
on this.  In the current linux-next we know that amdgpu_device_lock_adev()
will only return false when "hive" is NULL.

regards,
dan carpenter



More information about the amd-gfx mailing list