Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2662082rdb; Tue, 12 Sep 2023 08:29:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYS0Wrl+8GN+H+SoLwmUW9OtgA9VftPh8IfOIPzcv7olWebg+JR87i7S/rsa9W1u5Efhcy X-Received: by 2002:a17:903:2341:b0:1c0:c174:3695 with SMTP id c1-20020a170903234100b001c0c1743695mr119883plh.13.1694532571277; Tue, 12 Sep 2023 08:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694532571; cv=none; d=google.com; s=arc-20160816; b=vCCfO7Uxtjac/wPPViEDAkGqZ/S7WSBoSxWiilZUCjj4xme7fzSjdV0hyHx2xsBAsp 0d1UDxnJf3I6vLhLUEE+twIVGJaK2Nb/u0zg70v/64+HF3F5ugILWCiqucKtkT5umY+/ X9THA1UQUKP4Eq27lDofJu3iO+mQQr3AaqwqDd4UEW/QyLE+4Eku/sjXLE7TSrOCEj2q cttOjTIfvWcM7tjFDG7WAiA0POPZ5JuaHHKDAnw3U626eBr846ilzGZWm+xsKz2Hl7Bg Zr/J3XEUqNW+TsXLsdyGf0nFyIaN6uiGc8EluSoIGITjue0GNkMBpmsansLz+0+7E54S iyXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3PUsrvOQdDNl6py//InBfFa+lAc+lIt+M2tJfM3a4ow=; fh=vM5h6roEjX5bMtCnxlAcz5iScHf9qip6uzrU9B2eBwU=; b=sZK+ClGGnb6KQkSBGkXjdck/Khqqk19n+RW0OGtTd4gLEoZTwVJ+1f3BABrDCi1IWZ QQz+Tuj2ql17plvRpDr+vc9daG6g3GmxpafQlvWfCXD3SGASAnk9I+/kWEnFxDKrSAzP LsYewmqwG0rDGACc1QM6M9ZU2SsbVQ2zhRp1MHaCZjQ+7kM0dyk7sn6SCvJiVTmhLBE8 RYJ3VNYJ3hnun8NdFL0Ot+41gu1sxjK2DYftbyiT6FNCQacG4NjMeDaALIiI8AW898B3 2M1e8ypqHwKKcVKhFM6UbNM4CZ9RNP1hlT3LRLSCUcqZrdf5qrieZi3euPLnET7FCgfH 5YnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0sqMd8rQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u15-20020a170903124f00b001a677821130si8614118plh.13.2023.09.12.08.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 08:29:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0sqMd8rQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 293C78260FB0; Tue, 12 Sep 2023 05:02:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234832AbjILMCW (ORCPT + 99 others); Tue, 12 Sep 2023 08:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234948AbjILMCO (ORCPT ); Tue, 12 Sep 2023 08:02:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1472D10FC; Tue, 12 Sep 2023 05:01:36 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB815C433C7; Tue, 12 Sep 2023 12:01:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1694520096; bh=/tbmZhK8Z5nyAJ9/9qP9S2JNPfr54CTIWfz6Jzu7CY4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0sqMd8rQ9DoQejQC8jvKEXs1jw+YQcJiuzZiiSyfGDjSmsJ4sBtPIpYkXg0rEfOd7 d75MJ1RXe0rfPyTpFQMRm7P4fg2RIGECchKutu7L3vX5+FnV1QFSUgz0ToJzatnWwo 7TPwvAwsY+ETBX0FNZ5JooNuEI06NAZghaQA7xyY= Date: Tue, 12 Sep 2023 14:01:33 +0200 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: jack@suse.cz, stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, Daniel =?iso-8859-1?Q?D=EDaz?= , Tom Rix , Nathan Chancellor Subject: Re: [PATCH 6.1 000/600] 6.1.53-rc1 review Message-ID: <2023091213-awning-driveway-4671@gregkh> References: <20230911134633.619970489@linuxfoundation.org> <1ffe4f64-f238-859a-ab14-7559d03c4671@linaro.org> <2023091233-boots-line-a3d4@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 05:02:54 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On Tue, Sep 12, 2023 at 05:26:27PM +0530, Naresh Kamboju wrote: > On Tue, 12 Sept 2023 at 16:02, Greg Kroah-Hartman > wrote: > > > > On Tue, Sep 12, 2023 at 02:19:34PM +0530, Naresh Kamboju wrote: > > > On Tue, 12 Sept 2023 at 07:55, Daniel D?az wrote: > > > > > > > > Hello! > > > > > > > > On Mon, 11 Sept 2023 at 14:58, Daniel D?az wrote: > > > > > On 11/09/23 7:40 a. m., Greg Kroah-Hartman wrote: > > > > > > This is the start of the stable review cycle for the 6.1.53 release. > > > > > > There are 600 patches in this series, all will be posted as a response > > > > > > to this one. If anyone has any issues with these being applied, please > > > > > > let me know. > > > > > > > > > > > > Responses should be made by Wed, 13 Sep 2023 13:44:56 +0000. > > > > > > Anything received after that time might be too late. > > > > > > > > > > > > The whole patch series can be found in one patch at: > > > > > > https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.53-rc1.gz > > > > > > or in the git tree and branch at: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y > > > > > > and the diffstat can be found below. > > > > > > > > > > > > thanks, > > > > > > > > > > > > greg k-h > > > > > > > > > > We're seeing this new warning: > > > > > -----8<----- > > > > > /builds/linux/fs/udf/inode.c:892:6: warning: variable 'newblock' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] > > > > > 892 | if (*err < 0) > > > > > | ^~~~~~~~ > > > > > /builds/linux/fs/udf/inode.c:914:9: note: uninitialized use occurs here > > > > > 914 | return newblock; > > > > > | ^~~~~~~~ > > > > > /builds/linux/fs/udf/inode.c:892:2: note: remove the 'if' if its condition is always false > > > > > 892 | if (*err < 0) > > > > > | ^~~~~~~~~~~~~ > > > > > 893 | goto out_free; > > > > > | ~~~~~~~~~~~~~ > > > > > /builds/linux/fs/udf/inode.c:699:34: note: initialize the variable 'newblock' to silence this warning > > > > > 699 | udf_pblk_t newblocknum, newblock; > > > > > | ^ > > > > > | = 0 > > > > > 1 warning generated. > > > > > ----->8----- > > > > > > > > > > That's with Clang 17 (and nightly) on: > > > > > * arm > > > > > * powerpc > > > > > * s390 > > > > > > > > For what it's worth, bisection points to 903b487b5ba6 ("udf: Handle > > > > error when adding extent to a file"). > > > > > > I see the following commit is fixing the reported problem. > > > > > > commit 6d5ab7c2f7cf90877dab8f2bb06eb5ca8edc73ef > > > Author: Tom Rix > > > Date: Fri Dec 30 12:53:41 2022 -0500 > > > > > > udf: initialize newblock to 0 > > > > > > The clang build reports this error > > > fs/udf/inode.c:805:6: error: variable 'newblock' is used > > > uninitialized whenever 'if' condition is true > > > [-Werror,-Wsometimes-uninitialized] > > > if (*err < 0) > > > ^~~~~~~~ > > > newblock is never set before error handling jump. > > > Initialize newblock to 0 and remove redundant settings. > > > > > > Fixes: d8b39db5fab8 ("udf: Handle error when adding extent to a file") > > > Reported-by: Nathan Chancellor > > > Signed-off-by: Tom Rix > > > Signed-off-by: Jan Kara > > > Message-Id: <20221230175341.1629734-1-trix@redhat.com> > > > > Wait, where is this commit? I don't see it in Linus's tree either, nor > > in linux-next. Where did you find it? > > Can you find this commit id ? > > Commit id: 23970a1c9475b305770fd37bebfec7a10f263787 > subject: ("udf: initialize newblock to 0") Yes, that is in 6.2. Where did the id you used above come from? confused, greg k-h