lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 28 Apr 2009 15:33:27 -0400
From:	Jeff Garzik <jeff@...zik.org>
To:	LKML <linux-kernel@...r.kernel.org>
CC:	Takashi Iwai <tiwai@...e.de>, Al Viro <viro@...IV.linux.org.uk>
Subject: include/sound/soc-dai.h: "codec" declared twice

Compiling with LLVM's clang yielded this:

> include/sound/soc-dai.h:224:25: error: member of anonymous union redeclares 'codec'
>                 struct snd_soc_codec *codec;
>                                       ^
> include/sound/soc-dai.h:214:24: note: previous declaration is here
>         struct snd_soc_codec *codec;
>                               ^
> 2 diagnostics generated.

And indeed, we see

struct snd_soc_dai {
[...]
         /* DAI runtime info */
         struct snd_pcm_runtime *runtime;
         struct snd_soc_codec *codec;

[...]
         /* parent codec/platform */
         union {
                 struct snd_soc_codec *codec;
                 struct snd_soc_platform *platform;
         };

         struct list_head list;
};

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ