next build: 9 warnings 0 failures (next/next-20170215)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Olof's autobuilder
Here are the build results from automated periodic testing.
Warnings: 9
It seems we're closing in on zero again, with just two build regressions against 4.10 in linux-next. I did patches for both, and they made it into maintainer trees but not yet into linux-next
Quoted 6 lines
Warnings:
1
drivers/iio/adc/rcar-gyroadc.c:398:26: warning: 'adcmode' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:426:22: warning: 'sample_width' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:428:23: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:429:27: warning: 'num_channels' may be used uninitialized in this function [-Wmaybe-uninitialized]
This was "iio: adc: handle unknow of_device_id data",
http://lkml.iu.edu/hypermail/linux/kernel/1702.0/02707.html
Jonathan applied it into 'fixes-togreg-post-rc1', which is probably enough, though I'd expect that Greg would take it earlier as it addresses a (harmless) regression in -next.
Quoted 4 lines
1
drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/media/platform/coda/imx-vdoa.c:333:625: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/usb/gadget/udc/atmel_usba_udc.c:636:38: warning: 'ept_cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
2drivers/media/platform/coda/imx-vdoa.c:333:181: warning: passing argument 1 of '__platform_driver_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
This was "[media] coda/imx-vdoa: platform_driver should not be const",
https://patchwork.linuxtv.org/patch/39288/ Hans already marked this as 'merged', so I assume it's on its way in, but just hasn't appeared in linux-next as of today.
I think there were a couple of other new build warnings in the kernelci builder, I'll have another look when today's linux-next build results come in from there.
Arnd
Quoted 29 lines · Arnd Bergmann
Quoted 4 lines · Olof's autobuilder
Here are the build results from automated periodic testing.
Warnings: 9
It seems we're closing in on zero again, with just two build regressions against 4.10 in linux-next. I did patches for both, and they made it into maintainer trees but not yet into linux-next
Quoted 6 lines
Warnings:
1
drivers/iio/adc/rcar-gyroadc.c:398:26: warning: 'adcmode' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:426:22: warning: 'sample_width' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:428:23: warning: 'channels' may be used uninitialized in this function [-Wmaybe-uninitialized] 1drivers/iio/adc/rcar-gyroadc.c:429:27: warning: 'num_channels' may be used uninitialized in this function [-Wmaybe-uninitialized]This was "iio: adc: handle unknow
of_device_iddata",
http://lkml.iu.edu/hypermail/linux/kernel/1702.0/02707.htmlJonathan applied it into 'fixes-togreg-post-rc1', which is probably enough, though I'd expect that Greg would take it earlier as it addresses a (harmless) regression in -next.
Quoted 4 lines
1
drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/media/platform/coda/imx-vdoa.c:333:625: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/usb/gadget/udc/atmel_usba_udc.c:636:38: warning: 'ept_cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
2drivers/media/platform/coda/imx-vdoa.c:333:181: warning: passing argument 1 of '__platform_driver_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
Quoted 4 lines
This was "[media] coda/imx-vdoa:
platform_drivershould not be const",
https://patchwork.linuxtv.org/patch/39288/ Hans already marked this as 'merged', so I assume it's on its way in, but just hasn't appeared in linux-next as of today.
It's part of a pull request for 4.12 for Mauro to pick up. If this should go into 4.10 or 4.11, then Greg should take this particular patch. Mauro is moving to a new house this week and won't have time (or quite possibly even network connectivity).
Regards,
Hans
Quoted 13 lines · Hans Verkuil
Quoted 11 lines · Arnd Bergmann
Quoted 4 lines · Olof's autobuilder
1
drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/media/platform/coda/imx-vdoa.c:333:625: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/usb/gadget/udc/atmel_usba_udc.c:636:38: warning: 'ept_cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
2drivers/media/platform/coda/imx-vdoa.c:333:181: warning: passing argument 1 of '__platform_driver_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]This was "[media] coda/imx-vdoa:
platform_drivershould not be const",
https://patchwork.linuxtv.org/patch/39288/ Hans already marked this as 'merged', so I assume it's on its way in, but just hasn't appeared in linux-next as of today.
Quoted 4 lines
It's part of a pull request for 4.12 for Mauro to pick up. If this should go into 4.10 or 4.11, then Greg should take this particular patch. Mauro is moving to a new house this week and won't have time (or quite possibly even network connectivity).
Ok, good to know, thanks for your quick reply. I checked the commit that caused the
warning, d2fe28feaebb ("[media] coda/imx-vdoa: constify structs"), and it is currently
part of git://linuxtv.org/media_tree.git#master . My fix should go on top of this branch
and picked up by whoever is going to send it during the merge window. As I'm reverting
half of Mauro's patch, we can't merge it through any other tree at the moment.
Arnd
Quoted 19 lines · Arnd Bergmann
Quoted 13 lines · Hans Verkuil
Quoted 11 lines · Arnd Bergmann
Quoted 4 lines · Olof's autobuilder
1
drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/media/platform/coda/imx-vdoa.c:333:625: warning: passing argument 1 of 'platform_driver_unregister' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1drivers/usb/gadget/udc/atmel_usba_udc.c:636:38: warning: 'ept_cfg' may be used uninitialized in this function [-Wmaybe-uninitialized]
2drivers/media/platform/coda/imx-vdoa.c:333:181: warning: passing argument 1 of '__platform_driver_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]This was "[media] coda/imx-vdoa:
platform_drivershould not be const",
https://patchwork.linuxtv.org/patch/39288/ Hans already marked this as 'merged', so I assume it's on its way in, but just hasn't appeared in linux-next as of today.Quoted 4 lines
It's part of a pull request for 4.12 for Mauro to pick up. If this should go into 4.10 or 4.11, then Greg should take this particular patch. Mauro is moving to a new house this week and won't have time (or quite possibly even network connectivity).
Quoted 9 lines
Ok, good to know, thanks for your quick reply. I checked the commit that caused the
warning,d2fe28feaebb("[media] coda/imx-vdoa: constify structs"), and it is currently
part ofgit://linuxtv.org/media_tree.git#master. My fix should go on top of this branch
and picked up by whoever is going to send it during the merge window. As I'm reverting
half of Mauro's patch, we can't merge it through any other tree at the moment.
OK, we'll take care of this in that case.
I hope I'll remember this :-)
Regards,
Hans