[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y3V4Gt3OVR1BQ2/W@google.com>
Date: Wed, 16 Nov 2022 15:54:02 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Cc: Matti Vaittinen <mazziesaccount@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hans.verkuil@...co.com>,
Prashant Laddha <prladdha@...co.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] fixp-arith: do not require users to include bug.h
On Wed, Nov 16, 2022 at 10:33:25AM +0200, Matti Vaittinen wrote:
> The fixp_sin32_rad()() contains a call to BUG_ON(). If users of
> fixp-arith.h have not included the bug.h prior including the fixp-arith.h
> the compiler will not find the BUG_ON. Thus every user of fixp-arith.h
> must also include bug.h (or roll own variant of BUG_ON()).
>
> Include bug.h from fixp-arith.h so every user of fixp-arith.h does not
> need to include the bug.h prior inclusion of fixp-arith.h
>
> Fixes: 559addc25b00 ("[media] fixp-arith: replace sin/cos table by a better precision one")
> Signed-off-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists