19 Jul
2018
19 Jul
'18
7:16 a.m.
The checks in proc are moot if we guarantee the non-NULL card at snd_timer_new() in the above.
So it's not about fixing in sound module. It serves right. Your patch would add a sanity check to catch a buggy code in the caller side.
You are right Takashi, as you said this changes will catch buggy code in caller side.
Thank you for your respose.
Thanks, Srikanth