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

Mark Brown <[email protected]> Fri, 31 Jul 2026 14:50:13 +0100
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
--PWlF4IB82sc89s2M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi all,

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

/tmp/next/build/fs/ntfs/attrlist.c:183:6: error: variable 'new_al' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
  183 |         if (!NInoAttrList(ni) || !ni->attr_list) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/fs/ntfs/attrlist.c:317:6: note: uninitialized use occurs here
  317 |         if (new_al)
      |             ^~~~~~
/tmp/next/build/fs/ntfs/attrlist.c:183:2: note: remove the 'if' if its condition is always false
  183 |         if (!NInoAttrList(ni) || !ni->attr_list) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  184 |                 err = -ENOENT;
      |                 ~~~~~~~~~~~~~~
  185 |                 goto err_out;
      |                 ~~~~~~~~~~~~~
  186 |         }
      |         ~
/tmp/next/build/fs/ntfs/attrlist.c:183:6: error: variable 'new_al' is used uninitialized whenever '||' condition is true [-Werror,-Wsometimes-uninitialized]
  183 |         if (!NInoAttrList(ni) || !ni->attr_list) {
      |             ^~~~~~~~~~~~~~~~~
/tmp/next/build/fs/ntfs/attrlist.c:317:6: note: uninitialized use occurs here
  317 |         if (new_al)
      |             ^~~~~~
/tmp/next/build/fs/ntfs/attrlist.c:183:6: note: remove the '||' if its condition is always false
  183 |         if (!NInoAttrList(ni) || !ni->attr_list) {
      |             ^~~~~~~~~~~~~~~~~~~~
/tmp/next/build/fs/ntfs/attrlist.c:149:12: note: initialize the variable 'new_al' to silence this warning
  149 |         u8 *new_al;
      |                   ^
      |                    = NULL
2 errors generated.

Caused by commit

  57ad655524e85 (ntfs: protect attribute-list buffer replacement with attr_list_persist_lock)

I have used the tree from next-20260730 instead.

--PWlF4IB82sc89s2M
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpsqBQACgkQJNaLcl1U
h9CUsgf8C+X4C+8ktdwgJmji8z5Zy+BwdkObAYfi/Doh+J+h2xPcaVUrw+GR/9fc
GtcwGikjrFhov0Ft7mo7lK5hbhUWTQHWrSzP8lj/BdD5GzbFou2jWTFH8vXUI5n9
yuZRUrU+rar7iOkreYHf6IjiVEx02vxVcV0+2sZnytXGuVesRO5MAXz2ex8pYliB
33W2HzQ1/f+ElZMIRBMn3cBmkU7tmG3axhzF5u2UL4Zxp39w6jcitcMUCyoM/g/1
YTYimSOQbrk6qOKA5+q95sK7iWFjBAL7k5nwzWYI+sJoMQcpe3hMGkD8qZL1ijIs
b8/Hw3lDmD+VttldczDDzKztTPA2hg==
=Cubg
-----END PGP SIGNATURE-----

--PWlF4IB82sc89s2M--