[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hoaso1fdp.wl-tiwai@suse.de>
Date: Mon, 03 Nov 2014 16:18:58 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Joe Perches <joe@...ches.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Jaroslav Kysela <perex@...ex.cz>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] ALSA: echoaudio: add reference of struct echoaudio
At Mon, 03 Nov 2014 07:08:08 -0800,
Joe Perches wrote:
>
> On Mon, 2014-11-03 at 15:17 +0100, Takashi Iwai wrote:
> > At Mon, 3 Nov 2014 16:04:12 +0530,
> > Sudip Mukherjee wrote:
> > >
> > > added reference of struct echoaudio to free_firmware function.
> > > this structure will be later used to get a reference of the card
> > > when converting snd_printk to dev_* in the next patch of the series.
> > >
> > > Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
> >
> > Thanks, now applied both. Though, I noticed that there is also a
> > dev_notice() usage that should be also dev_dbg(). Corrected such
> > lines in my side.
>
> Are any of these changes going to cause a
> null pointer dereference of chip->card->dev?
All look OK at a quick glance. There was a recent change to make
card->dev mandatory, so it's there from the very beginning.
> ftrace exists and is generic.
>
> Several of these seem to be function tracing
> style uses and should just be deleted instead.
True. Further cleanup patches appreciated.
thanks,
Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists