From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by gnuweeb.org (Postfix) with ESMTPS id 261A381F47 for ; Mon, 23 Jan 2023 12:37:28 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=H8lzIkKW; dkim-atps=neutral Received: by mail-wm1-f47.google.com with SMTP id m15so8886367wms.4 for ; Mon, 23 Jan 2023 04:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=tLgSZ6O91njTGUq3vk9144iZV68n8GbM1GAVJ5K9gHQ=; b=H8lzIkKWxlcdNJtwav8GT1stFUzYMcGkPqXHGDnxjysbQTduMHGUcIsH+2Yf+jyp+N PUxgPwSH9DPoPEjzSft+o1MBWu4qTEyR34/Aw6w15RP5DNQMDmnLZ249ARSMr6ei3pHq Q7+LZFOXiJSKdNE20khovt/IbDUY/rzGxtQZX/1aFWULcDnsRLWsEsamIntOvWLa268I PhkiYfx5c58/a/8/ZwKG22Tzk36w4PVR/Q0pYQpTH3Oo7EZepvR5tmY7epUcmYOGwxDb VJSitu/JHfN8rANPgzm2vhTUrTR5KU/5KKIz5EW8/slmBz5LLpIqRKkygBbjfY+aePNl qqiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tLgSZ6O91njTGUq3vk9144iZV68n8GbM1GAVJ5K9gHQ=; b=RUvHfPT+v8YAvRH2aIgH2wlPf4GFz75QsMbHMFO/NkIupQFh5NUfjvY9eP5ujf+Ke8 RdJnXF4wbCj2wAyrhc8ydMwmBtq6PvRS4miVpemWu4k3MCAdS8F4Y5R4AzFauh9WFlK8 gZh/WlpzLDfFtT2Y89BgsDpg/EpzV1ANGtw1RC/30Y++T54nhMKojOIdJd5KaORoImLR vYfTtX1wMYUlCc5fF/iwBWEiNrWs634ouDxKeM2/++Hn8V+OYFBLNJmw5/sQELOM1iFO aBARRLw1n91oDUp115mf3/QYtFaPCLty3OGXuladmFqDrliCSlHiK04k+IDgNtugp7JW nsBQ== X-Gm-Message-State: AFqh2kpUA40JjwJjYqBWjHB1NteOjZ/FvXsYejpmY5KYT03CLJqkS0gQ ZBY1rFclzFESzv5ZPHpCusk= X-Google-Smtp-Source: AMrXdXuBckxCdly7hZDO+7ioeodPQcu+dNBtTpc63PkAuQuvkJyEdhzQfcozamqg+ceU8OoM64vnNw== X-Received: by 2002:a05:600c:2d05:b0:3d0:85b5:33d3 with SMTP id x5-20020a05600c2d0500b003d085b533d3mr22793200wmf.16.1674477446346; Mon, 23 Jan 2023 04:37:26 -0800 (PST) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id fc17-20020a05600c525100b003db1d9553e7sm11742499wmb.32.2023.01.23.04.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 04:37:25 -0800 (PST) Date: Mon, 23 Jan 2023 15:37:22 +0300 From: Dan Carpenter To: Ammar Faizi Cc: Jaegeuk Kim , GNU/Weeb Mailing List , oe-kbuild@lists.linux.dev, lkp@intel.com, oe-kbuild-all@lists.linux.dev Subject: Re: Fwd: [ammarfaizi2-block:google/android/kernel/common/upstream-f2fs-stable-linux-5.15.y 115/361] fs/f2fs/data.c:996 f2fs_grab_read_bio() warn: variable dereferenced before check 'bio' (see line 995) Message-ID: References: <0b9b8c6b-b79a-126f-745e-f571abad7bff@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0b9b8c6b-b79a-126f-745e-f571abad7bff@gnuweeb.org> List-Id: On Mon, Jan 23, 2023 at 07:24:17PM +0700, Ammar Faizi wrote: > commit e8e3f1a12d05d0aef2c819664890b540dfb055af > Author: Christoph Hellwig > AuthorDate: Mon Feb 28 14:41:22 2022 +0200 > Commit: Jaegeuk Kim > CommitDate: Thu Apr 28 15:51:57 2022 -0700 > > f2fs: don't pass a bio to f2fs_target_device > Set the bdev at bio allocation time by changing the f2fs_target_device > calling conventions, so that no bio needs to be passed in. > Signed-off-by: Christoph Hellwig > Reviewed-by: Chao Yu > Link: https://lore.kernel.org/r/20220228124123.856027-2-hch@lst.de ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This link doesn't have the bug. It seems like it was caused by a merge issue. Simple enough to fix either way. regards, dan carpenter