Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3791313iob; Sat, 7 May 2022 15:34:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTe17/tD0rYsWwtnuRNAao4+dNEWrK2bWk5RTF4RjLIuAotZ2K1T6st2hfV2PBOxpFiHVN X-Received: by 2002:aa7:ce84:0:b0:425:d2e0:a75f with SMTP id y4-20020aa7ce84000000b00425d2e0a75fmr10062923edv.263.1651962843646; Sat, 07 May 2022 15:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651962843; cv=none; d=google.com; s=arc-20160816; b=096aQV5a5RzwcPtE2G1EN5NsFXzRUTGB+RRvPAujuSuxdxVd7Tk8FmTPEQgnlduMXw rMFO0mJjEOaOQ8SQjzc1ZF8UOPtlUW/cJl4dyUzRejo0bQNVfKUWAK4HQ1f7JAbdTIQC SrAjvFQp6z0/JYUzhkHcy0Y9SUmXdMNA0vsQxXpV+HUsiGi7tUJr2sKlp/klJLvYlTYW VpPOzB36+Lr9R3ejsD6Ge48xpmm2Zexs0abzEdAH6phUAbPJEAJsE0WiqmXo3jCRSqR3 jF3EyprCqOMhQ8DXRUxkFCVRbXyg3HU3/JX3BRDMwRyZLuvYEZAyqgq858qnYweyTZb3 qTWA== 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=liHULFA5ob+D25xT3VvrToMjQ15+RDAheHLy6ro2XJc=; b=syQfhnefy8M6vFlHhMUgY1WM4z543Xii8V4b/1v+DhB9ljjSlsTq1jOum3GLUWAVxO PgQ8cVbuoSPmgIT9cGVCuwQRXqhyv27vQA2U8Ra0byWYVO1Lgl5z6GqKmUpxK2g4/5lC 7lrWBQSRaNM7AagwsSLwGV9CJDHTI0q99pP5hG8i/zRs+2yw/Bh3Qp9CowxGdA4N73rH HtoL/uoJ8tuJFJ0tk58tVdgWR6bRhT8tM+ZyexK2vKuq72RXkgEhgT7Xm/vo6kUuB9Ah MDRccF2odDqazJSBUs35aDnl31yRscAzA9tJL/lkcAJCbF8K044pu9cRt7KqLNby3veJ eXfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FPuuz+QY; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a056402524800b0042167fe38desi9610892edd.113.2022.05.07.15.33.39; Sat, 07 May 2022 15:34:03 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=FPuuz+QY; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389504AbiEFH2Y (ORCPT + 99 others); Fri, 6 May 2022 03:28:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352462AbiEFH2X (ORCPT ); Fri, 6 May 2022 03:28:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407CB66FB6; Fri, 6 May 2022 00:24:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AF851B832C1; Fri, 6 May 2022 07:24:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62E86C385B1; Fri, 6 May 2022 07:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651821878; bh=StWfG862y0u2kQU0M4ZLAPlW/rb52wK1Pm4BbpZO+tE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FPuuz+QYQLJsxFXdf+bWPOaMtjdb7DlpsLJjGzqAmr4sijr00SCJZOQ958vkODYIG ecJxJo6UccWgEhFTEIDXXBAmSYRGQUfX95ch1ICCP4V6Q3rxF+eh8YagyL1VUS8FT+ VpMDAyAa2jPwihzq6+p24zAUuCHqeG/YXwd5xY7nKWdnnUtiM8cAfX2CFJfLkisUxl 5tK4bZY7vNa8Kchbwqf/jDMGqmn1ejSJ1lAGm01EbWRMmrPWIl2NmNMH0rn+LcKocY g0uNR5dFzbLr52Vf86Gn9dFHEsETNLuJYYUJ+3fkRi9OgZbkcDtSkR3yrCQGBrIHG4 Gj3/WkbwlaZQA== Received: by mail-ot1-f41.google.com with SMTP id y14-20020a9d460e000000b00605ee347da1so4419805ote.8; Fri, 06 May 2022 00:24:38 -0700 (PDT) X-Gm-Message-State: AOAM533g5E/XK4o1jpTV5GTW31tuJ3gjLnWa+1pMpWClXXcJw2PAH6L3 j0OatiyBW7hjHK+xXqwOrwnu9Mf55I5qZCmBZ6M= X-Received: by 2002:a05:6830:9c2:b0:606:1e0a:cc8d with SMTP id y2-20020a05683009c200b006061e0acc8dmr598659ott.265.1651821877389; Fri, 06 May 2022 00:24:37 -0700 (PDT) MIME-Version: 1.0 References: <202205031017.4TwMan3l-lkp@intel.com> <8704209d-d487-a297-b05a-5db99f5f808c@intel.com> In-Reply-To: From: Ard Biesheuvel Date: Fri, 6 May 2022 09:24:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dove: fix returnvar.cocci warnings To: Philip Li Cc: Dave Hansen , Arnd Bergmann , kernel test robot , kbuild-all@lists.01.org, Linux Memory Management List , Tony Lindgren , Russell King , linux-omap , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, 6 May 2022 at 03:12, Philip Li wrote: > > On Thu, May 05, 2022 at 09:31:37AM -0700, Dave Hansen wrote: > > On 5/3/22 00:21, Arnd Bergmann wrote: > > > On Tue, May 3, 2022 at 4:45 AM kernel test robot wrote: > > >> From: kernel test robot > > >> > > >> arch/arm/mach-omap2/dma.c:82:10-16: Unneeded variable: "errata". Return "0" on line 161 > > >> > > >> Remove unneeded variable used to store return value. > > >> > > >> Generated by: scripts/coccinelle/misc/returnvar.cocci > > >> > > >> Reported-by: kernel test robot > > >> Signed-off-by: kernel test robot > > > I checked the patch, and unfortunately it is wrong, the current code > > > needs to stay. > > > The problem is the SET_DMA_ERRATA() macro that accesses the > > > local 'errata' variable. > > > > 0day folks, do we have humans looking over these before they're going > > out to the list? If not, can we add some? If so, can the humans get a > > little more discerning? ;) > > Sorry all for the bad patch. So far, we pick up several cocci warnings that > we have confidence based on early result analysis and feedback, for these > warnings, 0day sends out patch automatically. > Could you please add a special header or something to such emails so I can filter them out? I am strongly opposed to such automatic spambot patch generation, as it wastes valuable reviewer bandwidth to save the bot operator some time, but it think it should be the other way around. We expect contributors to carefully prepare their patch submissions before sending them to the list, and automatically generated patches simply don't mesh with that. The fact that you use a bot does not mean you can ignore these rules.