Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1080906pxm; Wed, 23 Feb 2022 17:37:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJysAy+rYh4EmAJjHz7KFcAHR67UfAjupWJWfv6RX+ahbctiaTiWQ8qnzmxkcHO1SXXPKU92 X-Received: by 2002:a63:5f42:0:b0:373:d440:496e with SMTP id t63-20020a635f42000000b00373d440496emr450930pgb.529.1645666653949; Wed, 23 Feb 2022 17:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645666653; cv=none; d=google.com; s=arc-20160816; b=jTWZcZAJcia94x8GNamJ64pGiGma8Yas1xZ6ivCcFC2ObEQkksC/Ibqy7wcfnhKWs9 3Rcvtls/WDbslI2JZ0U85rQ8UqpzmQmK/zzMsLvgWFPjXy4uakQW4WTksdGn2zMMqBNg vApCN/H3k/pBK8Ouba5L2LT7n9b2v8qw1pwhWbeebIe9yOipC3hAW7xWW6R5NTWaRBbN EimCA9lEGJ2OrakHcK3jdOADWGwuvO2w7s5SeKINcx95RkPaJkfSuwndSyJ1OJsIS0W/ sD8McYUN2CN2ZAbEPSuC1SBctKZIAdodr1GVW+/pzhQegImIHPagJpQDQqVBYCps1UXh 42Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=Nyh+dlLEFtk5a7r5fyJIdubXRNDNCA4Th/hKQraTE04=; b=fnKKmopbuEvgbCcQs6tWP1URp2aQn+nDKCCRoJt5QTe/g5kWmYGvRTH3jqgIahc0Lk ngU4H/W9ryI54CsjyE5Ifd/68L2k6ScoDddKai9fGvBAxFwYfltLAbdcfB2iz2Ro3i7X OnLoWiaBc4bM81Fkk4p21oQWIh1av1TbNt+/SVJLjqhWsRhQOZ5U4dtMGUS9dQpdJkee jVlJObxessDmLAqt4Pcl6qDkEBMMqwaJ/e2SsRa50NFfIbyqszsSDl4766wdfoZ2kpcv ev6PreBw6Zy38rNM6dnSr7nWA7Bv7sB4RwsycVJoVXG1QE1ZZPEF3lJ5EZyceDonoM9N 9lVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=U+PX8irA; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x190si1095560pgd.701.2022.02.23.17.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 17:37:33 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=U+PX8irA; dkim=neutral (no key) header.i=@suse.cz; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B03A16BCF9; Wed, 23 Feb 2022 17:15:45 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243392AbiBWRZR (ORCPT + 99 others); Wed, 23 Feb 2022 12:25:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243281AbiBWRZP (ORCPT ); Wed, 23 Feb 2022 12:25:15 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF39527EA; Wed, 23 Feb 2022 09:24:48 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id D315E2171F; Wed, 23 Feb 2022 17:24:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1645637086; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Nyh+dlLEFtk5a7r5fyJIdubXRNDNCA4Th/hKQraTE04=; b=U+PX8irA9nCRkeNyaYP4YauJzL5b+RpoJQz8+zIM5SQjPp6Hcqq0W8dMARHMX9s6ZdWljO ++b1pRI2TDFV14Qat3WYBscnrQvVOu7ZseP6mAe/h4jASJvjAong1fc7NCd9+4DuFYX5QU K6ilYzU/GSmuvQvs1ezsAH6XsMXGx5s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1645637086; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Nyh+dlLEFtk5a7r5fyJIdubXRNDNCA4Th/hKQraTE04=; b=fPZpu2fzLWkeRmqbCa1udMNPegRO86v88zz9pqguCeJ/DrwqKlzvP0qPGvRBHTh9k1GEJ5 eQzERY5e3TVSGfDw== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id A47F0A3B83; Wed, 23 Feb 2022 17:24:46 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 4BE16DA7F7; Wed, 23 Feb 2022 18:20:58 +0100 (CET) Date: Wed, 23 Feb 2022 18:20:58 +0100 From: David Sterba To: Su Yue Cc: Greg KH , Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, David Sterba , clm@fb.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH AUTOSEL 5.10 16/27] btrfs: tree-checker: check item_size for dev_item Message-ID: <20220223172058.GR12643@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Su Yue , Greg KH , Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, David Sterba , clm@fb.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org References: <20220209184103.47635-1-sashal@kernel.org> <20220209184103.47635-16-sashal@kernel.org> <1r00qtxj.fsf@damenly.su> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1r00qtxj.fsf@damenly.su> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 18, 2022 at 07:25:20PM +0800, Su Yue wrote: > On Fri 18 Feb 2022 at 11:36, Greg KH wrote: > > On Wed, Feb 09, 2022 at 01:40:52PM -0500, Sasha Levin wrote: > \ > | ~~~~~~~~~~~~^ > fs/btrfs/ctree.h:1833:1: note: in expansion of macro > \342\200\230BTRFS_SETGET_FUNCS\342\200\231 > 1833 | BTRFS_SETGET_FUNCS(item_size, struct btrfs_item, size, > 32); > | ^~~~~~~~~~~~~~~~~~ > ======================================================================== > > The upstream patchset[1] merged in 5.17-rc1, changed second > parameter > of btrfs_item_size() from btrfs_item * to int directly. > So yes, the backport is wrong. > > I'm not familiar with stable backport progress. Should I file a > patch > using btrfs_item *? Or just drop it? > > The patch is related to 0c982944af27d131d3b74242f3528169f66950ad > but > I wonder why the 0c98294 is not selected automatically. We don't rely on the automatic selection, I evaluate all patches for stable inclusion and add the CC: tag, this works well. Not all patches need to go to stable, but AUTOSEL sometimes picks patches that could be there and if it's not entirely wrong I don't object.