Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp564341rdb; Tue, 19 Sep 2023 04:04:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgCaoJll7ef8+1N+7DlRlCUnrggrh47//q0IRlJglZ9WsIv/cjjQQGyboQGkwj+AUXSBHU X-Received: by 2002:a05:6a21:3b46:b0:14c:6397:ac6e with SMTP id zy6-20020a056a213b4600b0014c6397ac6emr9125528pzb.23.1695121481405; Tue, 19 Sep 2023 04:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695121481; cv=none; d=google.com; s=arc-20160816; b=xbOJ373/14DZtn78ZR4MGuqui/8e8ymdBhCqqCeJGF/e7IvPBUWvOJHLlUWIJv7MYE PS2xwVsfYJSjXOy5gffztBYPkBlTmSnlZz+oV7dExTT0MvICQAQ/1veOjewAg2MwGCJP 5ZqMDB9Hp0Fa2HWw8Bwz6JL4Nkauza/P1kJBAxLiO9UaFdNNKojDPJeGiyjgJv3tzfOn Gl1PjYGLB4+byHcTZY5/dPdhEVID3ymXxvkafPekAT8tTDurMD9VL/7I+gPpQjyhiZUB JVvvhIV5eTke3RpAYVhcPoEjAZwQeUJViZ6ejaaMjhTPo0nNdkfojH1htOyGAFr4b0Ov QD7Q== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NtMNMdzAMRPdXJbOirYjfxWh45I3qfw19JeuEXxCOFU=; fh=vVWDTpr8O5920hlHDMFILbG6K/DtU7qTKTL3PARN3RY=; b=d1DsJdgGMNZfSjp+6l5I1cZHePQ4YIsOhrhyhUzcnNo0N+nvkpgWq6EOMeF6QvIdx2 aayw2mEpNxoI8nCac3k2i50cZr4iq+2gZ+m8W9LC9polja90OE0UScyey8GVua9wkMQb T8cxS91UPDDL7lHpqhLax/WETNKlOrqdtbZLLImrIFdEcZpi4cLzxj5dnoqC5OslwNiR P2rpf5wNKsxjV+55FJ4HoFAr/L7sWqH6nQiVh0OuGXM4pOmI9GYiBasJmfy5393xGuCd EKwzrhXj+vEdHFEJkg6byh++a/VILgPxaqpeqVLIYh+ubpQEigsOqW5BPDsw0TBQycap 7YdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NkuASuen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id v70-20020a638949000000b00578b4992008si1047320pgd.133.2023.09.19.04.04.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:04:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NkuASuen; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 03A7080A2361; Tue, 19 Sep 2023 00:52:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbjISHwd (ORCPT + 99 others); Tue, 19 Sep 2023 03:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbjISHwc (ORCPT ); Tue, 19 Sep 2023 03:52:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62E7410F; Tue, 19 Sep 2023 00:52:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 978D1C433C8; Tue, 19 Sep 2023 07:52:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695109946; bh=njHjTnd9YJvAgThnzsTTDZkzqNUJIPmiGtcggS0SZnU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NkuASuenxh/TMElcg5CGQDucAGBtOl+j+LBR1qqyiTbun4RCf5z0R8G5mE8ggLB9x h66Eoo1VMZiNQGxBUlkcLoxI/kQQ3yA6ESHNK5khjw/sJqWgszYlWgXJeaNZe94WSE NderuRDBRQFT1cvmcltgQl9Ijy0drvHoDxLNmz9k= Date: Tue, 19 Sep 2023 09:52:20 +0200 From: Greg Kroah-Hartman To: Guenter Roeck Cc: stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, 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 Subject: Re: [PATCH 5.15 000/511] 5.15.132-rc1 review Message-ID: <2023091958-aware-whomever-059c@gregkh> References: <20230917191113.831992765@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 00:52:37 -0700 (PDT) On Mon, Sep 18, 2023 at 11:40:36AM -0700, Guenter Roeck wrote: > On Sun, Sep 17, 2023 at 09:07:07PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.15.132 release. > > There are 511 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 Tue, 19 Sep 2023 19:10:04 +0000. > > Anything received after that time might be too late. > > > > My tests say > > Build results: > total: 155 pass: 155 fail: 0 > Qemu test results: > total: 509 pass: 509 fail: 0 > > However, trying to build with clang (as done by ChromeOS) does report > > fs/ksmbd/smb2pdu.c:6256:6: error: variable 'fp' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] > if (work->next_smb2_rcv_hdr_off) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > fs/ksmbd/smb2pdu.c:6367:21: note: uninitialized use occurs here > ksmbd_fd_put(work, fp); > ^~ > fs/ksmbd/smb2pdu.c:6256:2: note: remove the 'if' if its condition is always false > if (work->next_smb2_rcv_hdr_off) { > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > fs/ksmbd/smb2pdu.c:6248:23: note: initialize the variable 'fp' to silence this warning > struct ksmbd_file *fp; > ^ > = NULL > > I guess I should try to add clang build tests. > > Anyway, smb2_write() already initializes fp with NULL, presumably to handle a > similar problem, so maybe doing the same for the read function would be the > easiest solution. Note that the initialization was added upstream with commit > 2fd5dcb1c8ef9 ("ksmbd: smbd: fix missing client's memory region invalidation"). Thanks for the report, I'll go fix this up in the commit that causes the build warning. greg k-h