Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp315327lqb; Tue, 4 Jun 2024 12:10:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWiAPPtcHQPl48mnWzoBeinNJXtYLj0IEdJiYD6MMcqV6txQSW3mUj9Q8WlJHuZPHVTz9Z0tmBOqINir2nhF6t3VAwAIC0UNhUhahpFOQ== X-Google-Smtp-Source: AGHT+IHe1wkoAjHIND0x8riC3zm5fDCUK1VMO9LfpQDcK4jMQN3AHJY70xn1jefPNYr16UDFGWj5 X-Received: by 2002:a50:d7de:0:b0:579:c08b:afa5 with SMTP id 4fb4d7f45d1cf-57a8bcb9532mr343259a12.37.1717528249576; Tue, 04 Jun 2024 12:10:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717528249; cv=pass; d=google.com; s=arc-20160816; b=XQkgB+XXpQXhLpwsMSNDbtar0KQzN0CDeP6U9YOhMu6KaTC6xNmFt9OIEe3n4aJEij DtUNjMzZ2FCkr1nhPMmWtXz8H7S8oBlzKTlmAR/3Ifvti17sIpK6KZY8hXW6daE+gdLe +odCqWD4Xl3tOXsjTwWgLBA5u9pS+577j5sz76LPwstPgqudtk8oWH3gRosak4/HVbMG qCJKEiHxV8eiyrwbrwhGpEeb7byn8Tg15EGYdGpnrWFUQAx4yJS80Q8eKA9WMjrtKMMU LoPd5t7JF/xBN8vqLmgVHCAp2p6V7YzdvHA6Olw/I/bR5qz+uT7u0nM0M7zFa49mRxDE 69XA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=uzA8SRe4whRjxMfh3T9fimsp/JqPLwi91HrTpjRxV+U=; fh=WuZqx8hd3zOGS1L11pXVVFsUVvgFEG6a0kWMUFmS7pM=; b=IYDecCWOmVEEUvX0PezkDhnlelyRkF22OQB11a1y57wl+rXeqED/iOiET1nQgk0RXi 0jQnpK+HRGMakJ4e6nwkiNsHG6IvXY45S50RgK/IaFduKTnGBE4CYbDNg6mAjMaekvT6 WERQND3H89uZvUlsGD0P1kIc4bLw/nh/9cBjTXSielMMQvOWx9cb8IbxTnesaJKLfKDS 6FQgx6RQfJ7EMXQuyn4UXctWwGm/5kWA80UpMdEKbb0qHtsbZ7prVk0CFy5JAX6TMNy5 qNYtZ9stAw0VUl7MT0E/nt4OSlAREu5++AvDl4VdFZvIMZC9rYDqNPQ52SR/EQuhIcPk fm8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XX0Ajj3Y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-ext4+bounces-2770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c76a1csi5359448a12.429.2024.06.04.12.10.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XX0Ajj3Y; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-ext4+bounces-2770-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2770-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 386751F23438 for ; Tue, 4 Jun 2024 19:10:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8B4D13DB9F; Tue, 4 Jun 2024 19:10:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XX0Ajj3Y" X-Original-To: linux-ext4@vger.kernel.org Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F9DA14AD2D for ; Tue, 4 Jun 2024 19:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717528241; cv=none; b=EpnecPi5LUb1bVx82WWZcZNSXDdvDtLDVB0xdIAr2QN8FHns+/VVa6Zx0P6uWLCWhU2UKhuj0DW+Hb6CsigdFZ6FVhDTo+BjriFwephIA5GDJnVZEnQXQEG7m7x+KbzksMXYV8vhKb3QuvtzzltGKu9QUP0Wx0PZiJ/z6QqASGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717528241; c=relaxed/simple; bh=6WRhNvMputCmUE8KuRCNypytBhygsDlUsvmXPlqiqT8=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=MGSo1gBXTvNitxatG0BqisP8ZIVBj6DBHa/IOP0qU+UB4t91cpXHIFcAqTHvje6Dk1I6lKU6I2GuEnkYkTWPeuUch0hjHS8V+RMZWf06puxw8EJh/1vycbQgiHmsiPURvjjmFx3G7NwC4/ma6ClzZkvCWU4e7nMWPwTC2SB5Yao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=XX0Ajj3Y; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-57a2ed9af7dso6609085a12.1 for ; Tue, 04 Jun 2024 12:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717528238; x=1718133038; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uzA8SRe4whRjxMfh3T9fimsp/JqPLwi91HrTpjRxV+U=; b=XX0Ajj3Y+1AZObqOfPb18cGyraQBDDLO2XIlAPS8Ly83mZMEaDukTwLl+9+4GwpKd2 THP7pT7DLRfk9UqrlX/fGSI5cZPLFm8D0w5CUdEI3pYebM+h81FoVigV9m2nEfYj4kRC TonahQMlIiCAWbop+xMV9g639FTHM0BNlMfdtUrRWitQi6eLhlCZAtRVbPilZLWl0auA 8h2mQJGO7Hs2apj6epMapIMzjz6YH5eOzwmLsxZKClVONJ1f6gxRaW+EvpI+QRaIfMhz 7XZQpiWfGApQyh6Jx4J7T+OGwblLT6XKCE2SpIvVkKV0X1DWJhFjGQN7d0Qx/HnXjWz+ qRYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717528238; x=1718133038; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uzA8SRe4whRjxMfh3T9fimsp/JqPLwi91HrTpjRxV+U=; b=pjGMZD5GaHEZoSHThnRBsWZMW2avMjFNs+Jm2xOef3I6vje0EjMwh3YwKmhj3J1psL 0lebGgHQ+nLjEW3QCHkyq2Ipl2gWEOdJCtS5Rqps5nCNRAuVFg5nEaPl74wNE85OEYY/ tfQdfnHMnIlXilihHaMHOuzh3pD3AT4t+2Mji2z8rTocJu8qP+ATP8MVJUxvr4+5MxB7 BFGusIXpHb5TTZMolqYI6guoyzqykgdgRF4wsiUxW+QULMv4JTZ/F3JzDR08niiPeixI C50Wdtvc77q1I+tA1/4G2ufMXMcwD2ZVw4hbnvwt4hMjFA0I7XFuHj05C0M8KbdCuS0e +HkQ== X-Forwarded-Encrypted: i=1; AJvYcCV8cmk7hdcQ8RLacO9rz5NqpIJPzNnCsfYgsP8dB9ZwvJL6tLMbg62L/Rc+tO3alX4+qdzB7zr8jwE/liFhwWPeI528DwdG3HMIdw== X-Gm-Message-State: AOJu0YxgwAG1nXZYjoGOnFncKZ1ZX20QaDX6hKGmqF2DCPm78ginJmW8 XbqMKVR4kbIw+2OjRQYxq2IjCkeq05R4XAzvz+bZhrZsf5C8kU742To3xhhL4LA= X-Received: by 2002:a50:d4db:0:b0:57a:242e:806b with SMTP id 4fb4d7f45d1cf-57a8b6acd8emr362804a12.18.1717528237801; Tue, 04 Jun 2024 12:10:37 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57a31bb825esm7847800a12.32.2024.06.04.12.10.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:10:37 -0700 (PDT) Date: Tue, 4 Jun 2024 22:10:33 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, Hyeonwoo Cha , david.sterba@suse.com Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, aivazian.tigran@gmail.com, viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz, tytso@mit.edu, adilger.kernel@dilger.ca, hirofumi@mail.parknet.co.jp, sfr@canb.auug.org.au, chw1119@hanyang.ac.kr, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, reiserfs-devel@vger.kernel.org Subject: Re: [PATCH v2] Fix issue in mark_buffer_dirty_inode Message-ID: <97ac9280-4c7b-4466-9cb8-2a81882f0b80@moroto.mountain> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240604060636.87652-1-chw1119@hanyang.ac.kr> Hi Hyeonwoo, kernel test robot noticed the following build warnings: https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Hyeonwoo-Cha/Fix-issue-in-mark_buffer_dirty_inode/20240604-140958 base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all patch link: https://lore.kernel.org/r/20240604060636.87652-1-chw1119%40hanyang.ac.kr patch subject: [PATCH v2] Fix issue in mark_buffer_dirty_inode config: i386-randconfig-141-20240604 (https://download.01.org/0day-ci/archive/20240605/202406050218.U7c0DL3C-lkp@intel.com/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 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 | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202406050218.U7c0DL3C-lkp@intel.com/ smatch warnings: fs/buffer.c:673 mark_buffer_dirty_fsync() warn: if statement not indented fs/buffer.c:682 mark_buffer_dirty_fsync() warn: inconsistent indenting vim +673 fs/buffer.c 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 667 void mark_buffer_dirty_fsync(struct buffer_head *bh, struct address_space *mapping) ^1da177e4c3f41 Linus Torvalds 2005-04-16 668 { abc8a8a2c7dc7b Matthew Wilcox (Oracle 2022-12-15 669) struct address_space *buffer_mapping = bh->b_folio->mapping; ^1da177e4c3f41 Linus Torvalds 2005-04-16 670 ^1da177e4c3f41 Linus Torvalds 2005-04-16 671 mark_buffer_dirty(bh); 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 672 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 @673 if (bh->b_assoc_map) 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 674 return; The code is okay, but the indenting is messed up. 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 675 600f111ef51dc2 Matthew Wilcox (Oracle 2023-11-17 676) if (!mapping->i_private_data) { 600f111ef51dc2 Matthew Wilcox (Oracle 2023-11-17 677) mapping->i_private_data = buffer_mapping; ^1da177e4c3f41 Linus Torvalds 2005-04-16 678 } else { 600f111ef51dc2 Matthew Wilcox (Oracle 2023-11-17 679) BUG_ON(mapping->i_private_data != buffer_mapping); ^1da177e4c3f41 Linus Torvalds 2005-04-16 680 } 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 681 600f111ef51dc2 Matthew Wilcox (Oracle 2023-11-17 @682) spin_lock(&buffer_mapping->i_private_lock); 73295b4ed00de6 Hyeonwoo Cha 2024-06-04 683 list_move_tail(&bh->b_assoc_buffers, &mapping->i_private_list); 58ff407bee5a55 Jan Kara 2006-10-17 684 bh->b_assoc_map = mapping; 600f111ef51dc2 Matthew Wilcox (Oracle 2023-11-17 685) spin_unlock(&buffer_mapping->i_private_lock); ^1da177e4c3f41 Linus Torvalds 2005-04-16 686 } -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki