[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210601111910.11df774f@coco.lan>
Date: Tue, 1 Jun 2021 11:19:10 +0200
From: Mauro Carvalho Chehab <mchehab@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] media: av7110_v4l: Fix build error
Em Tue, 1 Jun 2021 11:16:17 +0200
Mauro Carvalho Chehab <mchehab@...nel.org> escreveu:
> Em Wed, 9 Sep 2020 21:38:44 +0800
> YueHaibing <yuehaibing@...wei.com> escreveu:
>
> > drivers/media/pci/ttpci/av7110_v4l.c: In function ‘vidioc_s_frequency’:
> > drivers/media/pci/ttpci/av7110_v4l.c:163:11: error: SSE register return with SSE disabled
> > if (freq < 16U * 168.25)
> > ~~~~~^~~~~~~~~~~~~~
> > Get rid of float pointing math to fix this.
>
> Out of curiosity: what compiler are you using? This sounds to be a compiler
> issue, as compiler should be optimizing the code by doing the math evaluation
> at compile time instead of doing it during runtime.
Nevermind. A similar patch was already applied upstream.
Please ignore this e-mail.
Thanks,
Mauro
Powered by blists - more mailing lists