Re: [PATCH 1/5] linux/kernel.h: Add sizeof_member macro

2019-09-24 Thread Bharadiya,Pankaj
On Tue, Sep 24, 2019 at 09:22:10AM -0700, Kees Cook wrote: > On Tue, Sep 24, 2019 at 04:28:35PM +0530, Pankaj Bharadiya wrote: > > At present we have 3 different macros to calculate the size of a > > member of a struct: > > - SIZEOF_FIELD > > - FIELD_SIZEOF > > - sizeof_field > > > > To brin

Re: [alsa-devel] [PATCH] ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_new_dai

2019-03-21 Thread Bharadiya,Pankaj
On Thu, Mar 21, 2019 at 02:09:48PM +, Mark Brown wrote: > On Thu, Mar 21, 2019 at 08:59:55AM -0500, Pierre-Louis Bossart wrote: > > On 3/21/19 7:31 AM, Mark Brown wrote: > > > On Thu, Mar 21, 2019 at 03:41:25PM +0530, Pankaj Bharadiya wrote: > > > > This is very non-obvious - it's not at all c