OSDN Git Service

media: dvb_frontend.h: Fix shifting signed 32-bit value problem
authorLuke Nowakowski-Krijger <lnowakow@eng.ucsd.edu>
Thu, 4 Jul 2019 20:58:12 +0000 (17:58 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 14 Aug 2019 08:04:08 +0000 (05:04 -0300)
commit5532c6282787124a7fd778d779d19148ae87479e
tree08c930ee9c9538d0a866aea772b65cedaf25af21
parentf6af820ef1be58c2e4b81aa479b9f109eb6344ce
media: dvb_frontend.h: Fix shifting signed 32-bit value problem

Fix DVBFE_ALGO_RECOVERY and DVBFE_ALGO_SEARCH_ERROR use BIT macro which
fixes undefined behavior error by certain compilers.

Also changed all other bit shifted definitions to use macro for better
readability.

Signed-off-by: Luke Nowakowski-Krijger <lnowakow@eng.ucsd.edu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/media/dvb_frontend.h