From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87A65D1812E for ; Mon, 14 Oct 2024 16:26:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 215276B008C; Mon, 14 Oct 2024 12:26:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C6296B0092; Mon, 14 Oct 2024 12:26:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 08D746B0093; Mon, 14 Oct 2024 12:26:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id DE1566B008C for ; Mon, 14 Oct 2024 12:26:42 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id D73C6A0F53 for ; Mon, 14 Oct 2024 16:26:27 +0000 (UTC) X-FDA: 82672736118.04.E48CBB5 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by imf21.hostedemail.com (Postfix) with ESMTP id 41FE71C0011 for ; Mon, 14 Oct 2024 16:26:27 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=gq1dGOGP; spf=pass (imf21.hostedemail.com: domain of fdmanana@suse.com designates 209.85.167.46 as permitted sender) smtp.mailfrom=fdmanana@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728923128; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=+IBErJIx/wIvP+a4LTNnwWE+t5/rP0cRqFDHeieH9Wk=; b=ttq6FT+vkQAh6Oce8N1W9+JpsjM1q3B93pmvYUhGw9ZMjny70U5uEZF/B4nWq1p+WSLzwT bx1OFrsSehQNOybflGoUa0kk9uXPM5J1Rzm67k1rE7brmXj71oojZVbTIPn3Yc8hWb/oxf v2ZMxkqua9vWHClIezqEeAwpLk7v4Vs= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=suse.com header.s=google header.b=gq1dGOGP; spf=pass (imf21.hostedemail.com: domain of fdmanana@suse.com designates 209.85.167.46 as permitted sender) smtp.mailfrom=fdmanana@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728923128; a=rsa-sha256; cv=none; b=YP6Vp8395E5HrOAuZqRipJBv3OuwG51oBC/eMRFO+nH7VC3Oqw8P98gB76ANlLXGJ9oS2S edYp+6kZIfjz7LbTEM0vuH7FL4vQWzUqsttXRUN2AAagB8EEOWKVi4zdooHsOFqZ/qtPoy tUxe1oJjDzwLHOeui5zKLM0e1glW4rw= Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-539e63c8678so2041002e87.0 for ; Mon, 14 Oct 2024 09:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1728923199; x=1729527999; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+IBErJIx/wIvP+a4LTNnwWE+t5/rP0cRqFDHeieH9Wk=; b=gq1dGOGP68A3XW+Nnc8iqAGQN0aKtLBw3JfGtvIZVRBA6LFeoGtq3M7jpFloyysJgp qvMc3ne90dDfIzltYEyvGndEbTuxv3m6xau3ZcIG+JJ7B7dLAxLPCUD1LSVdll8cg3sW aXtRw5cyrvncn75lLGO3uT/9mUSNpP80Rqv+ZmvyyIku/GIcoxVO5zYAFGAJrKBUGbsU kEkQPBnNtNRCM9GKbQJm7HdZq2uEowSxSd92joug99VI6OZ+33ZQkC3hPiuxPobZs6Zf 3rGWvIBbuVy7lzh3HQuyGC+U2EplsluIFXV/XNAjJAmPHR8dF2COCj4SufdqXLMDcd1g SSTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728923199; x=1729527999; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+IBErJIx/wIvP+a4LTNnwWE+t5/rP0cRqFDHeieH9Wk=; b=EasXjZAMp6A1732l4ZNGrcp1Swff47cRDBcS5wpQNzznp2YS4Hwhyrcy/AxzLjmisE LeizcvbIYBx0OVPke7tLa0XtK8BCTf3cDcWQoaF4ZS63smkZ5VWVOthIZxwXkxIX4XlO qJViFrzeWXCHso4l57mtHwEf0fzqM4XtFYSwp3TnLEvSewEbyEh7pa7t4l99S+Z6g+FF xRPhrL357P4euKFQWeMy0kBn8pfwQO7CqBBXLqiybXk+fEECzyVVZFJYm0LpGEK+mniW E1F1PiRb9vECmF3F3R2xutGRJ2YBz7cVOz7Yqw0whOt+VUpzaU4TTFHc+oxNPqMIJ0gB drHA== X-Forwarded-Encrypted: i=1; AJvYcCXMHb216tyDTFVuVhdLdtHa9ehVSWGzQYEZ3z5AHCHepq1RolGFejUHjTeBuUEhXIN2F1Tjv0hdgA==@kvack.org X-Gm-Message-State: AOJu0YwMR4x8i1Of7gBxGw66/eqbFhS4c49sqjf7LTa36SFAEqvlXA3P 3FAFRblpQ9RtzdXaBYblRd/6BoaDbJNFk/5yeNAUawLGaZmh7ZEVeFSux1FovlNz+cCl3ZObb9E fwVzA/7e3zLU/u/pwIoVOzhAXbLfr+UCasS7MsQ== X-Google-Smtp-Source: AGHT+IFLbBXm/lwEAcA7Adg943gvOcisiTVZDOcTviAkuAYwY1R40RFo0n5I3CCEhKa3rGaJBXZhjQajsiomZmnRgVk= X-Received: by 2002:a05:6512:b14:b0:52e:9b2f:c313 with SMTP id 2adb3069b0e04-539e54f8704mr3433678e87.22.1728923198611; Mon, 14 Oct 2024 09:26:38 -0700 (PDT) MIME-Version: 1.0 References: <202410091038.SI34ZULQ-lkp@intel.com> <20241009113029.GJ1609@suse.cz> In-Reply-To: <20241009113029.GJ1609@suse.cz> From: Filipe Manana Date: Mon, 14 Oct 2024 17:26:26 +0100 Message-ID: Subject: Re: [linux-next:pending-fixes 207/319] fs/btrfs/qgroup.c:2014:6: error: use of undeclared identifier 'bytenr' To: dsterba@suse.cz Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , David Sterba , Qu Wenruo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 41FE71C0011 X-Stat-Signature: dwfsmh8jibtqb85439djt7mb7m6gentr X-HE-Tag: 1728923187-418839 X-HE-Meta: U2FsdGVkX19f5zsygEN2HN7s8/idMRO2xgdy8awle5Qx4x0dTxcfYBDMs8uD93WikJGT56VccvFqAObeMFoYFQFkLRpW8qfaqEMkNHjXrBJHgyVGrptPkt+SLbLYoDcuNhnBpDULQBDVKPKkYffvWXntp+MbxNylEQIuDJ9zM31SWltpTaVU7bkKAIplDI/wPahb08XHJaTf/PVWLTn8nyLIOqcJRycyZPtk9Xm/ANcZ1lSd6V3VqhGIZ1k0wXh7AKk2ehumFb09l25V0Qw44z6wfuIwTd6fDwXw9eenAcvA1hNfPk0ej95SMA6AEz47frhC0XyusXXMqdLcf1EyQMjKsil/c9msFrfp6luMqlv0eQQ068dmGEQWaujuchLCjzTXQiuN08PKZ0Ndn3441nA98omxJa+tVP5f8cGoL6PNFvyUJ6seWJClmOPuXi7wzk1vH+VF6+UzpCTSRKuWsziwDLmCNscu4rBiN0snFSbVCISHPxlhnAz0N2rOlZt83C0qW8ISMKU89aT6BhrbizTj63hi1LxSvj3czeqe9PVdW+7uJ5e8Bcjav7II+95eXtkKR3uujRl6cqunBc3CoGr/Wqt+nd/pg3XT3UYFJobaDOphEfM0MrxEmYUtIWMrgpxIM9OV2RDwmFy0nuwE+ED6RjaQ3jW90oDQjgsCDVBG8/BI8Jv8m2zvMwWWQgFCSY/+vcW66En4FwPRkBDp7VesF91GdFnJJUtJxQIvzwIjy1mADC4hraIocPLvBKyWGtvr04w9YiUd98zeZmCngJW9xhCm4JKZOx/DhHIK6qbNEVEbb9epY/9OpIZSHA7WXy8vrF9qt6Wy4g87M18N8nszlzleZ0WFkKe0vj9pKY5taBdGTl+abLQlK9OotYKr53uHJoufmH8fQvPoK7srTYsTxd2f5S5jRKPnc3UcZsrjDL7ED68Vl2wWWJdPF1w6BwgsYMozl/a+1nH7FyO zhCsO4Ax O8CMLrlzqXp/cpfcEhFI3NtVvtVxwrh4vU4pxbDbUjkFAbiJ80/xoiNmn3yxj0cS7GAzQ/HSbkEtVrbeTZfTOjwvNW0XSMuJz5C+21w0YwEZfB1HkvNV/OmY5hcLXXwNDZ8P9+Z5WoM1G8Laz/cAUmpmzJT2CnM0PlEkBkSQZpy7ppnPSkxNLM4tBcttD98Bc3KCU9LAFgcly+9iBfYI7p0A+4OahWNrv+r06Qjq4ijkjdPep1ulLrqs5D/efdw64tS/XqLAAiB+kBpqwufMwZx78QQXuMXAjJWz1PI97i/ZwkK8iRpkNHuJFnPwFeqP3RHM+QbJIdX3I0J5mTeTyDPNtkCjIJjVxOe95a72ub6c2r40FCRlL1BCTFA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000198, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, Oct 9, 2024 at 12:30=E2=80=AFPM David Sterba wrot= e: > > On Wed, Oct 09, 2024 at 11:09:13AM +0100, Filipe Manana wrote: > > On Wed, Oct 9, 2024 at 3:55=E2=80=AFAM kernel test robot wrote: > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git pending-fixes > > > head: 47fa0de9b07c6214b57458e965646a3e25656b69 > > > commit: 5c0ea18d992fffc948e087c0002560d747e6edd9 [207/319] btrfs: use= sector numbers as keys for the dirty extents xarray > > > config: arm-randconfig-002-20241009 (https://download.01.org/0day-ci/= archive/20241009/202410091038.SI34ZULQ-lkp@intel.com/config) > > > compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project = 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) > > > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/a= rchive/20241009/202410091038.SI34ZULQ-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 > > > | Closes: https://lore.kernel.org/oe-kbuild-all/202410091038.SI34ZULQ= -lkp@intel.com/ > > > > > > All errors (new ones prefixed by >>): > > > > > > >> fs/btrfs/qgroup.c:2014:6: error: use of undeclared identifier 'byt= enr' > > > if (bytenr >=3D MAX_LFS_FILESIZE) { > > > > Ah this should be record->bytenr. > > The issue is actually fixed in a later patch of the same patchset, > > where bytenr is a function argument. > > > > I can update the patch but then it will require updating the patches > > that come next from the same patchset and rebasing the for-next > > branch. > > And I see it's already in the next-fixes branch. > > > > David, how do you prefer to proceed here? Do you want me to fix this > > and resend the patchset? > > No need to resend, I'll fix it locally, the patch in next-fixes was the > old one so I'll sync it with what's in our development for-next (and > also check the others just in case). I'll also check and update all the > branches involved in the for-next pulled by linux-next. Btw, I noticed that only the 2nd patch ("btrfs: use sector numbers as keys for the dirty extents xarray") was updated, so now it doesn't break 32 bits builds anymore. However the next patch in the series ("btrfs: qgroups: remove bytenr field from struct btrfs_qgroup_extent_record") wasn't updated, and it now breaks 32 bits builds. At the same location, it needs to use "bytenr" instead of "record->bytenr". Do you want me to update the patches and send them to the list? There's one more change that needs to be squashed (to that last patch) that triggers a use-after-free reported by syzbot, which is: https://lore.kernel.org/linux-btrfs/02fc507b62b19be2348fc08de8b13bd7af1a440= e.1728922973.git.fdmanana@suse.com/ Thanks.