[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200527104525.5e6cd93b@coco.lan>
Date: Wed, 27 May 2020 10:45:25 +0200
From: Mauro Carvalho Chehab <mchehab@...nel.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Sakari Ailus <sakari.ailus@...ux.intel.com>,
linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com
Subject: Re: [PATCH 0/7] media: atomisp: Address several clang warnings
Em Wed, 27 May 2020 00:11:43 -0700
Nathan Chancellor <natechancellor@...il.com> escreveu:
> Hi all,
>
> This series aims to clean up the code while addressing the majority of
> clang warnings in this driver, some found by the 0day bot and others
> found by me.
>
> There are several enum conversion warnings that happen, which I do not
> really know how to solve without understanding how exactly this driver
> works. I would appreciate some guidance or a solution. Below are the
> warnings, sorry for not wrapping them but they would be hard to read
> otherwise.
...
> ../drivers/staging/media/atomisp//pci/atomisp_compat_css20.h:117:22: note: expanded from macro 'CSS_ID'
> #define CSS_ID(val) (IA_ ## val)
...
I actually wrote a patch getting rid of this ugly thing:
https://git.linuxtv.org/mchehab/experimental.git/commit/?h=atomisp_v3&id=cf6a15543ace1e99364911c0b7a2f6b8f2f43021
This one was already submitted upstream (not merged yet), but there
are also lots of other patches on my working tree.
I'll try to apply your patch series on it, once I'll be able to
fix a bug with mmap support.
Thanks,
Mauro
Powered by blists - more mailing lists