Skip to contentSkip to conversation

linux-next: build warning after merge of the mali-dp tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Jan 18, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Liviu,

After merging the mali-dp tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/gpu/drm/arm/display/komeda/komeda_dev.c: In function 'komeda_parse_dt':
drivers/gpu/drm/arm/display/komeda/komeda_dev.c:52:26: warning: unused variable 'pdev' [-Wunused-variable]

  struct platform_device *pdev = to_platform_device(dev);
                          ^~~~

Introduced by commit

7e8d4fcf8daf ("drm: arm/komeda: Remove IRQ parsing from initial series")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi Liviu,

After merging the mali-dp tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Quoted 8 lines

drivers/gpu/drm/arm/display/komeda/komeda_dev.c: In function 'komeda_parse_dt':
drivers/gpu/drm/arm/display/komeda/komeda_dev.c:52:26: warning: unused variable 'pdev' [-Wunused-variable]

  struct platform_device *pdev = to_platform_device(dev);
                          ^~~~

Introduced by commit

7e8d4fcf8daf ("drm: arm/komeda: Remove IRQ parsing from initial series")

Argh, sorry about that! I'll get it fixed!

Thanks for reporting it,
Liviu

Quoted 4 lines
Signature · 3 lines
-- 
Cheers,
Stephen Rothwell
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯