Re: [PATCH 2/3] drm/i915: Check for ips_mchdev being NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 06, 2019 at 12:37:14AM +0000, Chris Wilson wrote:
Quoting Niranjana Vishwanathapura (2019-11-06 00:02:04)
Guard against uninitalized (NULL) ips_mchdev before
dereferencing.

Because?

I am seeing some exported functions like i915_read_mch_val() that try to
dereference ips_mchdev via mchdev_get(). I don't know full usage here,
but probably make these APIs fail safe?

Niranjana

-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux