[PATCH 1/2] sound:soc:soc-dmap: Fix compilation warning.

July 12th, 2012 - 05:10 pm ET by Marek Belisko | Report spam
Fix following:
sound/soc/soc-dapm.c: In function ‘dapm_clock_event’:
sound/soc/soc-dapm.c:1021:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>

sound/soc/soc-dapm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index f829d6f..eded657 100644
a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1018,6 +1018,7 @@ int dapm_clock_event(struct snd_soc_dapm_widget *w,
return 0;
}
#endif
+ return 0;
}
EXPORT_SYMBOL_GPL(dapm_clock_event);

1.7.9.5

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Mark Brown
July 13th, 2012 - 10:50 am ET | Report spam

On Thu, Jul 12, 2012 at 11:00:16PM +0200, Marek Belisko wrote:
Fix following:
sound/soc/soc-dapm.c: In function ‘dapm_clock_event’:
sound/soc/soc-dapm.c:1021:1: warning: control reaches end of non-void function [-Wreturn-type]



Applied,:but:please:do:make:an:effort:to:use:subject:lines:appropriate:to
the:subsystem. As well as using a totally different style there's a
spelling issue, I very nearly deleted the patch unread because of these
things.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics