Re: [PATCH] drm/i915: add audio_ptr pointer check

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

 



On Wed, 02 Mar 2016, Takashi Iwai <tiwai@xxxxxxx> wrote:
> On Wed, 02 Mar 2016 03:24:31 +0100,
> libin.yang@xxxxxxxxxxxxxxx wrote:
>> 
>> From: Libin Yang <libin.yang@xxxxxxxxxxxxxxx>
>> 
>> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux