* sound/pci/hda/hda_codec.c:3433 snd_hda_codec_write_cache() error: we previously assumed 'c' could be null (see line 3430)
[not found] <50f05d4a.7Hp1BArd1hLUlQ5B%yuanhan.liu@linux.intel.com>
@ 2013-01-12 2:14 ` Fengguang Wu
0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2013-01-12 2:14 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Hi Takashi,
FYI, there are new smatch warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git master
head: 02e5aa7b459f69538d4ec88658d064816a7692d6
commit: 95836563e7f636fc57732f5e687ca2f170eb674f ALSA: hda - Introduce cache & flush cmd / amp writes
date: 33 hours ago
sound/pci/hda/hda_codec.c:3433 snd_hda_codec_write_cache() error: we previously assumed 'c' could be null (see line 3430)
vim +/c +3433 sound/pci/hda/hda_codec.c
aa2936f5 Takashi Iwai 2009-05-26 3424 /* parm may contain the verb stuff for get/set amp */
aa2936f5 Takashi Iwai 2009-05-26 3425 verb = verb | (parm >> 8);
aa2936f5 Takashi Iwai 2009-05-26 3426 parm &= 0xff;
aa2936f5 Takashi Iwai 2009-05-26 3427 key = build_cmd_cache_key(nid, verb);
aa2936f5 Takashi Iwai 2009-05-26 3428 mutex_lock(&codec->bus->cmd_mutex);
aa2936f5 Takashi Iwai 2009-05-26 3429 c = get_alloc_hash(&codec->cmd_cache, key);
aa2936f5 Takashi Iwai 2009-05-26 @3430 if (c)
aa2936f5 Takashi Iwai 2009-05-26 3431 c->val = parm;
95836563 Takashi Iwai 2012-12-13 3432 if (codec->cached_write)
95836563 Takashi Iwai 2012-12-13 @3433 c->dirty = 1;
aa2936f5 Takashi Iwai 2009-05-26 3434 mutex_unlock(&codec->bus->cmd_mutex);
aa2936f5 Takashi Iwai 2009-05-26 3435 return 0;
b3ac5636 Takashi Iwai 2007-08-10 3436 }
---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-12 2:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <50f05d4a.7Hp1BArd1hLUlQ5B%yuanhan.liu@linux.intel.com>
2013-01-12 2:14 ` sound/pci/hda/hda_codec.c:3433 snd_hda_codec_write_cache() error: we previously assumed 'c' could be null (see line 3430) Fengguang Wu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.