* [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
@ 2012-09-11 3:00 ` Fengguang Wu
0 siblings, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-09-11 3:00 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel, Mark Brown, kernel-janitors
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
head: bffb28a4233d25d37a444785f766e98a041b4413
commit: a6179d2741640a1ec88a1c5b9c2c28bdf45666db [110/115] ASoC: core: display the platform node name if there is no platform name
All smatch warnings:
+ sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
vim +901 sound/soc/soc-core.c
884
885 /* find one from the set of registered platforms */
886 list_for_each_entry(platform, &platform_list, list) {
> 887 if (dai_link->platform_of_node) {
888 if (platform->dev->of_node !=
889 dai_link->platform_of_node)
890 continue;
891 } else {
892 if (strcmp(platform->name, platform_name))
893 continue;
894 }
895
896 rtd->platform = platform;
897 }
898 if (!rtd->platform) {
899 dev_err(card->dev, "platform %s not registered\n",
900 dai_link->platform_name ? :
> 901 dai_link->platform_of_node->full_name);
902 return -EPROBE_DEFER;
903 }
904
905 card->num_rtd++;
906
907 return 0;
908 }
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'd
@ 2012-09-11 3:00 ` Fengguang Wu
0 siblings, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-09-11 3:00 UTC (permalink / raw)
To: Timur Tabi; +Cc: alsa-devel, Mark Brown, kernel-janitors
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
head: bffb28a4233d25d37a444785f766e98a041b4413
commit: a6179d2741640a1ec88a1c5b9c2c28bdf45666db [110/115] ASoC: core: display the platform node name if there is no platform name
All smatch warnings:
+ sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
vim +901 sound/soc/soc-core.c
884
885 /* find one from the set of registered platforms */
886 list_for_each_entry(platform, &platform_list, list) {
> 887 if (dai_link->platform_of_node) {
888 if (platform->dev->of_node ! 889 dai_link->platform_of_node)
890 continue;
891 } else {
892 if (strcmp(platform->name, platform_name))
893 continue;
894 }
895
896 rtd->platform = platform;
897 }
898 if (!rtd->platform) {
899 dev_err(card->dev, "platform %s not registered\n",
900 dai_link->platform_name ? :
> 901 dai_link->platform_of_node->full_name);
902 return -EPROBE_DEFER;
903 }
904
905 card->num_rtd++;
906
907 return 0;
908 }
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
2012-09-11 3:00 ` [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'd Fengguang Wu
@ 2012-09-11 3:26 ` Mark Brown
-1 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2012-09-11 3:26 UTC (permalink / raw)
To: Fengguang Wu; +Cc: alsa-devel, kernel-janitors, Timur Tabi
On Tue, Sep 11, 2012 at 11:00:03AM +0800, Fengguang Wu wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> head: bffb28a4233d25d37a444785f766e98a041b4413
> commit: a6179d2741640a1ec88a1c5b9c2c28bdf45666db [110/115] ASoC: core: display the platform node name if there is no platform name
>
> All smatch warnings:
>
> + sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
I've dropped the patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assume
@ 2012-09-11 3:26 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2012-09-11 3:26 UTC (permalink / raw)
To: Fengguang Wu; +Cc: alsa-devel, kernel-janitors, Timur Tabi
On Tue, Sep 11, 2012 at 11:00:03AM +0800, Fengguang Wu wrote:
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> head: bffb28a4233d25d37a444785f766e98a041b4413
> commit: a6179d2741640a1ec88a1c5b9c2c28bdf45666db [110/115] ASoC: core: display the platform node name if there is no platform name
>
> All smatch warnings:
>
> + sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887)
I've dropped the patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-11 3:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 3:00 [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887) Fengguang Wu
2012-09-11 3:00 ` [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'd Fengguang Wu
2012-09-11 3:26 ` [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assumed 'dai_link->platform_of_node' could be null (see line 887) Mark Brown
2012-09-11 3:26 ` [asoc:for-next 110/115] sound/soc/soc-core.c:901 soc_bind_dai_link() error: we previously assume Mark Brown
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.