All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks
@ 2026-03-04  9:53 Konstantin Komarov
  0 siblings, 0 replies; 3+ messages in thread
From: Konstantin Komarov @ 2026-03-04  9:53 UTC (permalink / raw)
  To: ntfs3; +Cc: linux-kernel, linux-fsdevel, Konstantin Komarov

Enable a subset of W=1-style compiler warnings for the ntfs3 tree so we
catch small bugs early (unused symbols, missing declarations/prototypes,
possible uninitialized/mis-sized uses, etc).

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
 fs/ntfs3/Makefile | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/fs/ntfs3/Makefile b/fs/ntfs3/Makefile
index 279701b62bbe..53bf2c17ac28 100644
--- a/fs/ntfs3/Makefile
+++ b/fs/ntfs3/Makefile
@@ -3,6 +3,26 @@
 # Makefile for the ntfs3 filesystem support.
 #
 
+# Subset of W=1 warnings
+subdir-ccflags-y += -Wextra -Wunused -Wno-unused-parameter
+subdir-ccflags-y += -Wmissing-declarations
+subdir-ccflags-y += -Wmissing-format-attribute
+subdir-ccflags-y += -Wmissing-prototypes
+subdir-ccflags-y += -Wold-style-definition
+subdir-ccflags-y += -Wmissing-include-dirs
+condflags := \
+	$(call cc-option, -Wunused-but-set-variable)		\
+	$(call cc-option, -Wunused-const-variable)		\
+	$(call cc-option, -Wpacked-not-aligned)			\
+	$(call cc-option, -Wstringop-truncation)		\
+	$(call cc-option, -Wmaybe-uninitialized)
+subdir-ccflags-y += $(condflags)
+# The following turn off the warnings enabled by -Wextra
+subdir-ccflags-y += -Wno-missing-field-initializers
+subdir-ccflags-y += -Wno-sign-compare
+subdir-ccflags-y += -Wno-type-limits
+subdir-ccflags-y += -Wno-shift-negative-value
+
 # to check robot warnings
 ccflags-y += -Wint-to-pointer-cast \
 	$(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks
@ 2026-03-04 23:07 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-03-04 23:07 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "likely FALSE maybe-used-uninitialized warning on old compiler"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260304095334.4254-1-almaz.alexandrovich@paragon-software.com>
References: <20260304095334.4254-1-almaz.alexandrovich@paragon-software.com>
TO: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
TO: ntfs3@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: linux-fsdevel@vger.kernel.org
CC: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>

Hi Konstantin,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on linus/master v7.0-rc2 next-20260303]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Konstantin-Komarov/fs-ntfs3-add-a-subset-of-W-1-warnings-for-stricter-checks/20260304-181332
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/20260304095334.4254-1-almaz.alexandrovich%40paragon-software.com
patch subject: [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks
:::::: branch date: 13 hours ago
:::::: commit date: 13 hours ago
config: sparc-randconfig-002-20260305 (https://download.01.org/0day-ci/archive/20260305/202603050717.kw7i6toN-lkp@intel.com/config)
compiler: sparc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603050717.kw7i6toN-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202603050717.kw7i6toN-lkp@intel.com/

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   fs/ntfs3/fsntfs.c: In function 'ntfs_write_bh':
>> fs/ntfs3/fsntfs.c:1487:30: warning: 'sample' may be used uninitialized [-Wmaybe-uninitialized]
    1487 |                         *ptr = sample;
         |                         ~~~~~^~~~~~~~
   fs/ntfs3/fsntfs.c:1444:16: note: 'sample' was declared here
    1444 |         __le16 sample;
         |                ^~~~~~
>> fs/ntfs3/fsntfs.c:1443:17: warning: 'fixup' may be used uninitialized [-Wmaybe-uninitialized]
    1443 |         __le16 *fixup;
         |                 ^~~~~
--
   fs/ntfs3/index.c: In function 'indx_add_allocate':
>> fs/ntfs3/index.c:1572:9: warning: 'bmp_size' may be used uninitialized [-Wmaybe-uninitialized]
    1572 |         attr_set_size(ni, ATTR_BITMAP, in->name, in->name_len,
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1573 |                       &indx->bitmap_run, bmp_size, &bmp_size_v, false);
         |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/ntfs3/index.c:1496:13: note: 'bmp_size' was declared here
    1496 |         u64 bmp_size, bmp_size_v;
         |             ^~~~~~~~


vim +/sample +1487 fs/ntfs3/fsntfs.c

82cae269cfa953 Konstantin Komarov      2021-08-13  1431  
82cae269cfa953 Konstantin Komarov      2021-08-13  1432  int ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr,
82cae269cfa953 Konstantin Komarov      2021-08-13  1433  		  struct ntfs_buffers *nb, int sync)
82cae269cfa953 Konstantin Komarov      2021-08-13  1434  {
82cae269cfa953 Konstantin Komarov      2021-08-13  1435  	int err = 0;
82cae269cfa953 Konstantin Komarov      2021-08-13  1436  	struct super_block *sb = sbi->sb;
82cae269cfa953 Konstantin Komarov      2021-08-13  1437  	u32 block_size = sb->s_blocksize;
82cae269cfa953 Konstantin Komarov      2021-08-13  1438  	u32 bytes = nb->bytes;
82cae269cfa953 Konstantin Komarov      2021-08-13  1439  	u32 off = nb->off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1440  	u16 fo = le16_to_cpu(rhdr->fix_off);
82cae269cfa953 Konstantin Komarov      2021-08-13  1441  	u16 fn = le16_to_cpu(rhdr->fix_num);
82cae269cfa953 Konstantin Komarov      2021-08-13  1442  	u32 idx;
82cae269cfa953 Konstantin Komarov      2021-08-13 @1443  	__le16 *fixup;
82cae269cfa953 Konstantin Komarov      2021-08-13  1444  	__le16 sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1445  
82cae269cfa953 Konstantin Komarov      2021-08-13  1446  	if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- ||
82cae269cfa953 Konstantin Komarov      2021-08-13  1447  	    fn * SECTOR_SIZE > bytes) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1448  		return -EINVAL;
82cae269cfa953 Konstantin Komarov      2021-08-13  1449  	}
82cae269cfa953 Konstantin Komarov      2021-08-13  1450  
82cae269cfa953 Konstantin Komarov      2021-08-13  1451  	for (idx = 0; bytes && idx < nb->nbufs; idx += 1, off = 0) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1452  		u32 op = block_size - off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1453  		char *bh_data;
82cae269cfa953 Konstantin Komarov      2021-08-13  1454  		struct buffer_head *bh = nb->bh[idx];
82cae269cfa953 Konstantin Komarov      2021-08-13  1455  		__le16 *ptr, *end_data;
82cae269cfa953 Konstantin Komarov      2021-08-13  1456  
82cae269cfa953 Konstantin Komarov      2021-08-13  1457  		if (op > bytes)
82cae269cfa953 Konstantin Komarov      2021-08-13  1458  			op = bytes;
82cae269cfa953 Konstantin Komarov      2021-08-13  1459  
fac760f5246743 Lalit Shankar Chowdhury 2025-11-28  1460  		wait_on_buffer(bh);
8335ebe195dcc7 Konstantin Komarov      2022-07-07  1461  		lock_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1462  
82cae269cfa953 Konstantin Komarov      2021-08-13  1463  		bh_data = bh->b_data + off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1464  		end_data = Add2Ptr(bh_data, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1465  		memcpy(bh_data, rhdr, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1466  
82cae269cfa953 Konstantin Komarov      2021-08-13  1467  		if (!idx) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1468  			u16 t16;
82cae269cfa953 Konstantin Komarov      2021-08-13  1469  
82cae269cfa953 Konstantin Komarov      2021-08-13  1470  			fixup = Add2Ptr(bh_data, fo);
82cae269cfa953 Konstantin Komarov      2021-08-13  1471  			sample = *fixup;
82cae269cfa953 Konstantin Komarov      2021-08-13  1472  			t16 = le16_to_cpu(sample);
82cae269cfa953 Konstantin Komarov      2021-08-13  1473  			if (t16 >= 0x7FFF) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1474  				sample = *fixup = cpu_to_le16(1);
82cae269cfa953 Konstantin Komarov      2021-08-13  1475  			} else {
82cae269cfa953 Konstantin Komarov      2021-08-13  1476  				sample = cpu_to_le16(t16 + 1);
82cae269cfa953 Konstantin Komarov      2021-08-13  1477  				*fixup = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1478  			}
82cae269cfa953 Konstantin Komarov      2021-08-13  1479  
82cae269cfa953 Konstantin Komarov      2021-08-13  1480  			*(__le16 *)Add2Ptr(rhdr, fo) = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1481  		}
82cae269cfa953 Konstantin Komarov      2021-08-13  1482  
82cae269cfa953 Konstantin Komarov      2021-08-13  1483  		ptr = Add2Ptr(bh_data, SECTOR_SIZE - sizeof(short));
82cae269cfa953 Konstantin Komarov      2021-08-13  1484  
82cae269cfa953 Konstantin Komarov      2021-08-13  1485  		do {
82cae269cfa953 Konstantin Komarov      2021-08-13  1486  			*++fixup = *ptr;
82cae269cfa953 Konstantin Komarov      2021-08-13 @1487  			*ptr = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1488  			ptr += SECTOR_SIZE / sizeof(short);
82cae269cfa953 Konstantin Komarov      2021-08-13  1489  		} while (ptr < end_data);
82cae269cfa953 Konstantin Komarov      2021-08-13  1490  
82cae269cfa953 Konstantin Komarov      2021-08-13  1491  		set_buffer_uptodate(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1492  		mark_buffer_dirty(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1493  		unlock_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1494  
82cae269cfa953 Konstantin Komarov      2021-08-13  1495  		if (sync) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1496  			int err2 = sync_dirty_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1497  
82cae269cfa953 Konstantin Komarov      2021-08-13  1498  			if (!err && err2)
82cae269cfa953 Konstantin Komarov      2021-08-13  1499  				err = err2;
82cae269cfa953 Konstantin Komarov      2021-08-13  1500  		}
82cae269cfa953 Konstantin Komarov      2021-08-13  1501  
82cae269cfa953 Konstantin Komarov      2021-08-13  1502  		bytes -= op;
82cae269cfa953 Konstantin Komarov      2021-08-13  1503  		rhdr = Add2Ptr(rhdr, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1504  	}
82cae269cfa953 Konstantin Komarov      2021-08-13  1505  
82cae269cfa953 Konstantin Komarov      2021-08-13  1506  	return err;
82cae269cfa953 Konstantin Komarov      2021-08-13  1507  }
82cae269cfa953 Konstantin Komarov      2021-08-13  1508  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks
@ 2026-03-04 23:29 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-03-04 23:29 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "likely FALSE maybe-used-uninitialized warning on old compiler"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260304095334.4254-1-almaz.alexandrovich@paragon-software.com>
References: <20260304095334.4254-1-almaz.alexandrovich@paragon-software.com>
TO: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
TO: ntfs3@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: linux-fsdevel@vger.kernel.org
CC: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>

Hi Konstantin,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on linus/master v7.0-rc2 next-20260303]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Konstantin-Komarov/fs-ntfs3-add-a-subset-of-W-1-warnings-for-stricter-checks/20260304-181332
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/20260304095334.4254-1-almaz.alexandrovich%40paragon-software.com
patch subject: [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks
:::::: branch date: 13 hours ago
:::::: commit date: 13 hours ago
config: parisc-randconfig-002-20260305 (https://download.01.org/0day-ci/archive/20260305/202603050701.HA6h0acg-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603050701.HA6h0acg-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202603050701.HA6h0acg-lkp@intel.com/

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   fs/ntfs3/fsntfs.c: In function 'ntfs_write_bh':
>> fs/ntfs3/fsntfs.c:1487:9: warning: 'sample' may be used uninitialized in this function [-Wmaybe-uninitialized]
       *ptr = sample;
       ~~~~~^~~~~~~~
>> fs/ntfs3/fsntfs.c:1486:13: warning: 'fixup' may be used uninitialized in this function [-Wmaybe-uninitialized]
       *++fixup = *ptr;
       ~~~~~~~~~^~~~~~


vim +/sample +1487 fs/ntfs3/fsntfs.c

82cae269cfa953 Konstantin Komarov      2021-08-13  1431  
82cae269cfa953 Konstantin Komarov      2021-08-13  1432  int ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr,
82cae269cfa953 Konstantin Komarov      2021-08-13  1433  		  struct ntfs_buffers *nb, int sync)
82cae269cfa953 Konstantin Komarov      2021-08-13  1434  {
82cae269cfa953 Konstantin Komarov      2021-08-13  1435  	int err = 0;
82cae269cfa953 Konstantin Komarov      2021-08-13  1436  	struct super_block *sb = sbi->sb;
82cae269cfa953 Konstantin Komarov      2021-08-13  1437  	u32 block_size = sb->s_blocksize;
82cae269cfa953 Konstantin Komarov      2021-08-13  1438  	u32 bytes = nb->bytes;
82cae269cfa953 Konstantin Komarov      2021-08-13  1439  	u32 off = nb->off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1440  	u16 fo = le16_to_cpu(rhdr->fix_off);
82cae269cfa953 Konstantin Komarov      2021-08-13  1441  	u16 fn = le16_to_cpu(rhdr->fix_num);
82cae269cfa953 Konstantin Komarov      2021-08-13  1442  	u32 idx;
82cae269cfa953 Konstantin Komarov      2021-08-13  1443  	__le16 *fixup;
82cae269cfa953 Konstantin Komarov      2021-08-13  1444  	__le16 sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1445  
82cae269cfa953 Konstantin Komarov      2021-08-13  1446  	if ((fo & 1) || fo + fn * sizeof(short) > SECTOR_SIZE || !fn-- ||
82cae269cfa953 Konstantin Komarov      2021-08-13  1447  	    fn * SECTOR_SIZE > bytes) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1448  		return -EINVAL;
82cae269cfa953 Konstantin Komarov      2021-08-13  1449  	}
82cae269cfa953 Konstantin Komarov      2021-08-13  1450  
82cae269cfa953 Konstantin Komarov      2021-08-13  1451  	for (idx = 0; bytes && idx < nb->nbufs; idx += 1, off = 0) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1452  		u32 op = block_size - off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1453  		char *bh_data;
82cae269cfa953 Konstantin Komarov      2021-08-13  1454  		struct buffer_head *bh = nb->bh[idx];
82cae269cfa953 Konstantin Komarov      2021-08-13  1455  		__le16 *ptr, *end_data;
82cae269cfa953 Konstantin Komarov      2021-08-13  1456  
82cae269cfa953 Konstantin Komarov      2021-08-13  1457  		if (op > bytes)
82cae269cfa953 Konstantin Komarov      2021-08-13  1458  			op = bytes;
82cae269cfa953 Konstantin Komarov      2021-08-13  1459  
fac760f5246743 Lalit Shankar Chowdhury 2025-11-28  1460  		wait_on_buffer(bh);
8335ebe195dcc7 Konstantin Komarov      2022-07-07  1461  		lock_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1462  
82cae269cfa953 Konstantin Komarov      2021-08-13  1463  		bh_data = bh->b_data + off;
82cae269cfa953 Konstantin Komarov      2021-08-13  1464  		end_data = Add2Ptr(bh_data, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1465  		memcpy(bh_data, rhdr, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1466  
82cae269cfa953 Konstantin Komarov      2021-08-13  1467  		if (!idx) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1468  			u16 t16;
82cae269cfa953 Konstantin Komarov      2021-08-13  1469  
82cae269cfa953 Konstantin Komarov      2021-08-13  1470  			fixup = Add2Ptr(bh_data, fo);
82cae269cfa953 Konstantin Komarov      2021-08-13  1471  			sample = *fixup;
82cae269cfa953 Konstantin Komarov      2021-08-13  1472  			t16 = le16_to_cpu(sample);
82cae269cfa953 Konstantin Komarov      2021-08-13  1473  			if (t16 >= 0x7FFF) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1474  				sample = *fixup = cpu_to_le16(1);
82cae269cfa953 Konstantin Komarov      2021-08-13  1475  			} else {
82cae269cfa953 Konstantin Komarov      2021-08-13  1476  				sample = cpu_to_le16(t16 + 1);
82cae269cfa953 Konstantin Komarov      2021-08-13  1477  				*fixup = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1478  			}
82cae269cfa953 Konstantin Komarov      2021-08-13  1479  
82cae269cfa953 Konstantin Komarov      2021-08-13  1480  			*(__le16 *)Add2Ptr(rhdr, fo) = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1481  		}
82cae269cfa953 Konstantin Komarov      2021-08-13  1482  
82cae269cfa953 Konstantin Komarov      2021-08-13  1483  		ptr = Add2Ptr(bh_data, SECTOR_SIZE - sizeof(short));
82cae269cfa953 Konstantin Komarov      2021-08-13  1484  
82cae269cfa953 Konstantin Komarov      2021-08-13  1485  		do {
82cae269cfa953 Konstantin Komarov      2021-08-13 @1486  			*++fixup = *ptr;
82cae269cfa953 Konstantin Komarov      2021-08-13 @1487  			*ptr = sample;
82cae269cfa953 Konstantin Komarov      2021-08-13  1488  			ptr += SECTOR_SIZE / sizeof(short);
82cae269cfa953 Konstantin Komarov      2021-08-13  1489  		} while (ptr < end_data);
82cae269cfa953 Konstantin Komarov      2021-08-13  1490  
82cae269cfa953 Konstantin Komarov      2021-08-13  1491  		set_buffer_uptodate(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1492  		mark_buffer_dirty(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1493  		unlock_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1494  
82cae269cfa953 Konstantin Komarov      2021-08-13  1495  		if (sync) {
82cae269cfa953 Konstantin Komarov      2021-08-13  1496  			int err2 = sync_dirty_buffer(bh);
82cae269cfa953 Konstantin Komarov      2021-08-13  1497  
82cae269cfa953 Konstantin Komarov      2021-08-13  1498  			if (!err && err2)
82cae269cfa953 Konstantin Komarov      2021-08-13  1499  				err = err2;
82cae269cfa953 Konstantin Komarov      2021-08-13  1500  		}
82cae269cfa953 Konstantin Komarov      2021-08-13  1501  
82cae269cfa953 Konstantin Komarov      2021-08-13  1502  		bytes -= op;
82cae269cfa953 Konstantin Komarov      2021-08-13  1503  		rhdr = Add2Ptr(rhdr, op);
82cae269cfa953 Konstantin Komarov      2021-08-13  1504  	}
82cae269cfa953 Konstantin Komarov      2021-08-13  1505  
82cae269cfa953 Konstantin Komarov      2021-08-13  1506  	return err;
82cae269cfa953 Konstantin Komarov      2021-08-13  1507  }
82cae269cfa953 Konstantin Komarov      2021-08-13  1508  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-04 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-04 23:29 [PATCH] fs/ntfs3: add a subset of W=1 warnings for stricter checks kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-03-04 23:07 kernel test robot
2026-03-04  9:53 Konstantin Komarov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.