linux-next: build failure after merge of the fbdev tree

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi all,

After merging the fbdev tree, today's linux-next build (x86_64
allmodconfig) failed like this:

/tmp/next/build/drivers/video/fbdev/aty/aty128fb.c:2027:6: error:
variable 'info' is used uninitialized whenever 'if' condition is true
[-Werror,-Wsometimes-uninitialized]
 2027 |         if (!pcim_request_region(pdev, 2, "aty128fb MMIO")) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/drivers/video/fbdev/aty/aty128fb.c:2096:22: note:
uninitialized use occurs here
 2096 |         framebuffer_release(info);
      |                             ^~~~
/tmp/next/build/drivers/video/fbdev/aty/aty128fb.c:2027:2: note: remove
the 'if' if its condition is always false
 2027 |         if (!pcim_request_region(pdev, 2, "aty128fb MMIO")) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2028 |                 printk(KERN_ERR "aty128fb: cannot reserve MMIO region\n");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2029 |                 goto err_free_info;
      |                 ~~~~~~~~~~~~~~~~~~~
 2030 |         }
      |         ~
/tmp/next/build/drivers/video/fbdev/aty/aty128fb.c:2001:22: note:
initialize the variable 'info' to silence this warning
 2001 |         struct fb_info *info;
      |                             ^
      |                              = NULL

Caused by commit

  99c188b02c281 (fbdev: aty128fb: Convert to managed PCI and ioremap API)

I have used the tree from next-20260813 instead.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp/PocACgkQJNaLcl1U
h9Bmrgf/TJj74cqgh1MCqTvgZC4h9K812jEDgKGQeCTxSlVRJKRFNoHPdDG69Tol
6KsJTwfg9PBk+Me9Hf1BnG9Ed3lQ5MbNVBB9hZGfi9TH5S+rIbYC+sSxTg0FAqWt
9saTBi2TJ9CzXI7cZ8yPBShWYG0wMW3cOJe0YrBXlM+pHkT56zBEWcBiAepIblBX
1P6R5KjY/jGqn0v+YJakP26cDJESop77gwXuURQ+B3MABRG2fvaVxDAZ5B7u7PZV
ga6eM8aFRf9vzVYvqwNHO5EQgfVRkTnwXzZGDHZ/dalrH4z+y/RWtdGjncghaN2x
G5/EnZD6ui4wVUXBafMwAjWMpiQRXA==
=Vdos
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.