[Intel-gfx] [PATCH] drm/i915: add audio_ptr pointer check

Jani Nikula jani.nikula at linux.intel.com
Wed Mar 2 08:00:26 UTC 2016


On Wed, 02 Mar 2016, Takashi Iwai <tiwai at suse.de> wrote:
> On Wed, 02 Mar 2016 03:24:31 +0100,
> libin.yang at linux.intel.com wrote:
>> 
>> From: Libin Yang <libin.yang at linux.intel.com>
>> 
>> check to make sure audio_ptr is not NULL before
>> using it.
>
> I don't think non-NULL is mandatory.  If any invalid access is seen,
> it should be fixed rather in the audio side.

Agreed.

BR,
Jani

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list