projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943116b
)
ASoC: soc-utils: care -EOPNOTSUPP on snd_soc_ret()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 5 Feb 2025 00:16:14 +0000
(
00:16
+0000)
committer
Mark Brown
<broonie@kernel.org>
Thu, 6 Feb 2025 17:26:19 +0000
(17:26 +0000)
We get below warning by checkpatch on soc-utils.
Adds EOPNOTSUPP, but not remove existing ENOTSUPP.
WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link:
https://patch.msgid.link/87ed0d2qlt.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-utils.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-utils.c
b/sound/soc/soc-utils.c
index e8958158acc11783f629adceb63f163c432593ea..318b141c00b3800b780276f9683204f926b96ad2 100644
(file)
--- a/
sound/soc/soc-utils.c
+++ b/
sound/soc/soc-utils.c
@@
-28,6
+28,7
@@
int snd_soc_ret(const struct device *dev, int ret, const char *fmt, ...)
switch (ret) {
case -EPROBE_DEFER:
case -ENOTSUPP:
+ case -EOPNOTSUPP:
break;
default:
va_start(args, fmt);