Re: [sailus-media-tree:master 55/60] drivers/media/i2c/adv7180.c:573 adv7180_test_pattern() error: uninitialized symbol 'reg'.

From: Sakari Ailus
Date: Fri Apr 29 2022 - 07:28:04 EST


On Fri, Apr 29, 2022 at 07:57:41AM -0300, Fabio Estevam wrote:
> Hi Dan,
>
> On Fri, Apr 29, 2022 at 7:30 AM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> >
> > tree: git://linuxtv.org/sailus/media_tree.git master
> > head: ea1280040a678f38a4ce6f1817933c04cfe74552
> > commit: f3b4b140d87dc7f256229f20a8d70429a7549aca [55/60] media: i2c: adv7180: Add support for the test patterns
> > config: microblaze-randconfig-m031-20220427 (https://download.01.org/0day-ci/archive/20220429/202204290610.SVJgr8qV-lkp@xxxxxxxxx/config)
> > compiler: microblaze-linux-gcc (GCC) 11.3.0
> >
> > If you fix the issue, kindly add following tag as appropriate
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> >
> > smatch warnings:
> > drivers/media/i2c/adv7180.c:573 adv7180_test_pattern() error: uninitialized symbol 'reg'.
>
> Thanks for the report.
>
> This problem has been resolved in v3:
>
> https://patchwork.linuxtv.org/project/linux-media/patch/20220427135025.3036234-1-festevam@xxxxxxxxx/

Yeah, my bad. I accidentally took v2. That's fixed now.

--
Sakari Ailus