[Letux-kernel] compile problems

Andreas Kemnade andreas at kemnade.info
Sun Jul 22 16:09:41 CEST 2018


On Sun, 22 Jul 2018 13:24:48 +0200
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> > Am 22.07.2018 um 12:30 schrieb Andreas Kemnade <andreas at kemnade.info>:
> > 
> > Hi,
> > 
> > I tried to test the newest letux-4.18-rc5-kernel.
> > I came to the following problem:
> > 
> >  CC [M]  sound/soc/omap/omap-twl4030.o
> > ../sound/soc/omap/omap-twl4030.c: In function ‘omap_twl4030_init’:
> > ../sound/soc/omap/omap-twl4030.c:210:23: error: passing argument 1 of ‘pdata->jack_init’ from incompatible pointer type [-Werror=incompatible-pointer-types]
> >      pdata->jack_init(rtd->card))
> >                       ^~~
> > ../sound/soc/omap/omap-twl4030.c:210:23: note: expected ‘struct snd_soc_codec *’ but argument is of type ‘struct snd_soc_card *’
> > ../sound/soc/omap/omap-twl4030.c:211:21: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
> >   priv->jack_remove = pdata->jack_remove;
> >                     ^
> > cc1: some warnings being treated as errors  
> 
> looks as if my compiler treats it as a warning. Needs to be fixed of course.
> 4.18 has removed all snd_soc_card and replaced by snd_soc_codec and I have tried
> to include this in our private patches, but I may have missed one location.
> Maybe just the function declaration for pdata->jack_init.

hmm, jack detection seems to come from this odd-looking patch:
085618a8200f4

some merge accidents probably. The jack detection should go into a
single patch alltogether.

Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180722/2302307e/attachment-0001.asc>


More information about the Letux-kernel mailing list