Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2887353pxb; Sun, 20 Feb 2022 03:39:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJw1KNGGYAqZEX3P3eYMD/PVE3Yzpu/R8wPU4s0GFxKstKD+uGy1ZsAWB2nXl/u+YapMhH0U X-Received: by 2002:a05:6402:40ce:b0:412:8c89:be27 with SMTP id z14-20020a05640240ce00b004128c89be27mr16492973edb.82.1645357153645; Sun, 20 Feb 2022 03:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645357153; cv=none; d=google.com; s=arc-20160816; b=bvax1tqneCAMeUjmSOnXzW9tlrKQYj18gcU9vhV9LKmdCjKJEr0XxKW/wfoUpTZCcC 2qc9zoT06GntmM27ORaGKOfchkmzFy7Y/+pihnJUGWJy/KAWdBrNZMCE4an/s2paodaE 6bMgkK9sC3M2IaUefimRr68vnlHtCXSb8uvXfqlNJEwHaDLZCBS8kvM5tTFq2P+7ebvj FZ3752J27AzoC0UqvJi0DyyBI56+qIPu6Akssg/5qDC8dePepfEOi2FWUave01ooeqLi Pq8nqqt7DXcQo+n70GX66qnsZ7V7Y/ku7mpByyFf7K5oJjOkqsO6RxbodzH0eutqdtoi 2akA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JR8OjwwykcXCRxukVQiMhfl+weFk63dNW5x8uO22H7Q=; b=DKaeiFbnj9mBC7pXXEv/4WOhtTphSoupitjayjMG5lW8EPJHFmVdMSl+xRcIgeQgFo Q8XrPoJ587NgztUmastM39hXjYyd7xXbSqkJTvHUz44eRW1RGUUODSZQNSB91yJi4xog UA7oh+1/UUlzZwe65R1f5Z7ilNBhHMbcNWcn+dQFn5GIc0cXhEbMADe+2+rIU0GMxxNn +y0lJKiA3N+8qkV2Yhfj4n4wfTuvH0rL1W/Wi8RMx7vMEKn7Ic4Iriq2I+W6Uic5odLf re3ZgH1S4MwPriGzTfxXGzR37TW2vrzYmx+cFLdmIpIz6OBmwAmD2aQoVIYCNG5LxRuz u5ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T1OuH5T9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3si8062616ejw.323.2022.02.20.03.38.50; Sun, 20 Feb 2022 03:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=T1OuH5T9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243319AbiBTBkD (ORCPT + 99 others); Sat, 19 Feb 2022 20:40:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbiBTBkC (ORCPT ); Sat, 19 Feb 2022 20:40:02 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F06642A09; Sat, 19 Feb 2022 17:39:43 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id y16so3619777pjt.0; Sat, 19 Feb 2022 17:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JR8OjwwykcXCRxukVQiMhfl+weFk63dNW5x8uO22H7Q=; b=T1OuH5T9i8SB9ObqxfJlFUxNc2yhPkuITeBgmgQHrxwASOHja0osWeCSK25PSdcY4+ 5mkMKydmM7TnLHkaEw6mVD/WPLLQDhH5Jg3dO9pgiprhHiL5A6tCIYfV3mcelt8nz/Pn qaYPP4vFs3BzaIy9qV+uNi2YOdQVlLhctxucg5HZG+YKsXc0wlSAIBsWgSDHZ0GaqLLP R+TdXoICvM2XgPewNjYuOiKNfHHIRYCu+wdG3qcMk3VqCQES83lD5VHPMFjqNnTWPOUd GcS6WTKUoFDLc7BZSFasbCjA6FvNZ4YpyBBGqtoPgiiAwqDh1m2rdk2MlLnu9cjh+/R/ dRRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JR8OjwwykcXCRxukVQiMhfl+weFk63dNW5x8uO22H7Q=; b=7Ff0YL418l74p6qyY0m8K8Bx8RYOU9lmWzuR82sXIlhhGhdD//+fMfY4Ydx6H+6CNW aNyM0PeMa+MRnXoRJ4Zz/nPh2DeLRzV7UnORjVO1Wz5f+q4X7dRcOXH2geIdjyf1Nzvh 0BnvwTNJY7Nv7PZ9r5dsW1hU9yxU9bD46tnfWw3i3uVfADwmdVmPowdyRwi7FagtVbGz WwglgA1Ul5RQpSfKgVZzcpvkurLSjtUgnutSgWORixyYr3CVXqb30DGbRP1FOOiuakdH RUcMRESOYLAHcznnzamxwDY0ib8lxA6Po3rIb/HsgrcTsfA71OEHPxs6oUxbMcu83aGT Ny8g== X-Gm-Message-State: AOAM531kfswu0clQEzj97Ycdba5eCdOay4WahoIJyUmBrphCHc1Ev0WE rPjy9h/YzN/Lx1rG9EzAMAqkfvZuTk7WCSJQqT8= X-Received: by 2002:a17:902:76c5:b0:14e:e325:9513 with SMTP id j5-20020a17090276c500b0014ee3259513mr13538605plt.55.1645321182777; Sat, 19 Feb 2022 17:39:42 -0800 (PST) MIME-Version: 1.0 References: <20220219163915.125770-1-jrdr.linux@gmail.com> <20220220004209.hlutexplxhvrmpi6@apollo.legion> In-Reply-To: <20220220004209.hlutexplxhvrmpi6@apollo.legion> From: Alexei Starovoitov Date: Sat, 19 Feb 2022 17:39:31 -0800 Message-ID: Subject: Re: [PATCH] bpf: Initialize ret to 0 inside btf_populate_kfunc_set() To: Kumar Kartikeya Dwivedi Cc: Souptick Joarder , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Network Development , bpf , LKML , kernel test robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Sat, Feb 19, 2022 at 4:42 PM Kumar Kartikeya Dwivedi wrote: > > On Sat, Feb 19, 2022 at 10:09:15PM IST, Souptick Joarder wrote: > > From: "Souptick Joarder (HPE)" > > > > Kernel test robot reported below error -> > > > > kernel/bpf/btf.c:6718 btf_populate_kfunc_set() > > error: uninitialized symbol 'ret'. > > > > Initialize ret to 0. > > > > Fixes: dee872e124e8 ("bpf: Populate kfunc BTF ID sets in struct btf") > > Reported-by: kernel test robot > > Signed-off-by: Souptick Joarder (HPE) > > --- > > Thanks for the fix. > > Acked-by: Kumar Kartikeya Dwivedi Applied to bpf-next, since the bug will not trigger in practice.