Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1735399 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-09-20 04:10 +0200 |
| Last post | 2017-09-20 14:00 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
linux-next: build failure after merge of the sound-asoc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-09-20 04:10 +0200
Re: linux-next: build failure after merge of the sound-asoc tree robert.jarzmik@free.fr - 2017-09-20 14:00 +0200
Re: linux-next: build failure after merge of the sound-asoc tree Mark Brown <broonie@kernel.org> - 2017-09-20 14:00 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-09-20 04:10 +0200 |
| Subject | linux-next: build failure after merge of the sound-asoc tree |
| Message-ID | <urCCC-4YH-3@gated-at.bofh.it> |
Hi all,
After merging the sound-asoc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
sound/soc/codecs/wm9712.c: In function 'wm9712_soc_probe':
sound/soc/codecs/wm9712.c:675:12: error: invalid storage class for function 'wm9712_soc_remove'
static int wm9712_soc_remove(struct snd_soc_codec *codec)
^
sound/soc/codecs/wm9712.c:675:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static int wm9712_soc_remove(struct snd_soc_codec *codec)
^
sound/soc/codecs/wm9712.c:690:13: error: initializer element is not constant
.remove = wm9712_soc_remove,
^
sound/soc/codecs/wm9712.c:690:13: note: (near initialization for 'soc_codec_dev_wm9712.remove')
sound/soc/codecs/wm9712.c:705:12: error: invalid storage class for function 'wm9712_probe'
static int wm9712_probe(struct platform_device *pdev)
^
sound/soc/codecs/wm9712.c:722:12: error: invalid storage class for function 'wm9712_remove'
static int wm9712_remove(struct platform_device *pdev)
^
sound/soc/codecs/wm9712.c:733:11: error: initializer element is not constant
.probe = wm9712_probe,
^
sound/soc/codecs/wm9712.c:733:11: note: (near initialization for 'wm9712_codec_driver.probe')
sound/soc/codecs/wm9712.c:734:12: error: initializer element is not constant
.remove = wm9712_remove,
^
sound/soc/codecs/wm9712.c:734:12: note: (near initialization for 'wm9712_codec_driver.remove')
In file included from sound/soc/codecs/wm9712.c:18:0:
sound/soc/codecs/wm9712.c:737:24: error: invalid storage class for function 'wm9712_codec_driver_init'
module_platform_driver(wm9712_codec_driver);
^
include/linux/device.h:1500:19: note: in definition of macro 'module_driver'
static int __init __driver##_init(void) \
^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(wm9712_codec_driver);
^
In file included from sound/soc/codecs/wm9712.c:16:0:
include/linux/module.h:129:42: error: invalid storage class for function '__inittest'
static inline initcall_t __maybe_unused __inittest(void) \
^
include/linux/device.h:1504:1: note: in expansion of macro 'module_init'
module_init(__driver##_init); \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(wm9712_codec_driver);
^
sound/soc/codecs/wm9712.c:737:1: warning: 'alias' attribute ignored [-Wattributes]
In file included from sound/soc/codecs/wm9712.c:18:0:
sound/soc/codecs/wm9712.c:737:24: error: invalid storage class for function 'wm9712_codec_driver_exit'
module_platform_driver(wm9712_codec_driver);
^
include/linux/device.h:1505:20: note: in definition of macro 'module_driver'
static void __exit __driver##_exit(void) \
^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(wm9712_codec_driver);
^
include/linux/device.h:1505:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static void __exit __driver##_exit(void) \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(wm9712_codec_driver);
^
In file included from sound/soc/codecs/wm9712.c:16:0:
include/linux/module.h:135:42: error: invalid storage class for function '__exittest'
static inline exitcall_t __maybe_unused __exittest(void) \
^
include/linux/device.h:1509:1: note: in expansion of macro 'module_exit'
module_exit(__driver##_exit);
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
sound/soc/codecs/wm9712.c:737:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(wm9712_codec_driver);
^
sound/soc/codecs/wm9712.c:737:1: warning: 'alias' attribute ignored [-Wattributes]
In file included from include/linux/module.h:18:0,
from sound/soc/codecs/wm9712.c:16:
include/linux/moduleparam.h:21:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static const char __UNIQUE_ID(name)[] \
^
include/linux/module.h:160:32: note: in expansion of macro '__MODULE_INFO'
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^
include/linux/module.h:207:42: note: in expansion of macro 'MODULE_INFO'
#define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
^
sound/soc/codecs/wm9712.c:739:1: note: in expansion of macro 'MODULE_DESCRIPTION'
MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver");
^
sound/soc/codecs/wm9712.c:741:1: error: expected declaration or statement at end of input
MODULE_LICENSE("GPL");
^
sound/soc/codecs/wm9712.c: At top level:
sound/soc/codecs/wm9712.c:637:12: warning: 'wm9712_soc_probe' defined but not used [-Wunused-function]
static int wm9712_soc_probe(struct snd_soc_codec *codec)
^
Caused by commit
2ed1a8e0ce8d ("ASoC: wm9712: add ac97 new bus support")
I have used the sound-asoc tree from next-20170919 for today.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | robert.jarzmik@free.fr |
|---|---|
| Date | 2017-09-20 14:00 +0200 |
| Message-ID | <urLPz-2xK-1@gated-at.bofh.it> |
| In reply to | #1735399 |
[Multipart message — attachments visible in raw view] — view raw
Hi Stephen and Mark,
This is my mess. And today my mailer is not my usual one, please don't blame me
for its probably awfull rendering.
Somehow, in my last serie, in wm9712_soc_probe(), a closing bracket has disappeared.
This affects only wm9712.c, not the others, ie. the commit :
- 2ed1a8e "ASoC: wm9712: add ac97 new bus support"
I will resend an incremental version of this patch alone Mark this evening if that
suits you, with the bracket missing in wm9712.c:661 added.
Cheers.
--
Robert
[1] The diff, scrambled probably by my mailer, will look like the attached piece.
My mailer refuses to add a TAB so I cannot inline it with a scissor.
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2017-09-20 14:00 +0200 |
| Message-ID | <urLPA-2xK-7@gated-at.bofh.it> |
| In reply to | #1735738 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Sep 20, 2017 at 01:54:47PM +0200, robert.jarzmik@free.fr wrote: > I will resend an incremental version of this patch alone Mark this evening if that > suits you, with the bracket missing in wm9712.c:661 added. I fixed this already.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web