Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4766145iob; Mon, 9 May 2022 00:42:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSWSthIM7acwiSDWSP1lYetx/Z4I3K77gZyZetDlE9zufbsMAvGUcaBOZWqxM0KYigLft4 X-Received: by 2002:a63:834a:0:b0:3c6:bd46:16bc with SMTP id h71-20020a63834a000000b003c6bd4616bcmr3479565pge.262.1652082178849; Mon, 09 May 2022 00:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652082178; cv=none; d=google.com; s=arc-20160816; b=l6idepJ/Q9oxNCm4ziY+Uv6QWO9yQ1jEgs/9ZTbCHY4dYR/sdQHsppouEuw+Z0+IS7 S3QLv2qp4qLL8m8Wf2ikcTRBuojLUXwmunD6mBE73LvhLwMmh6DNwdDlRWNCn+Yavmsx gfwyfhBuJKohVkkVLxTNT1xjyfOLyngNeOyCp5RF/2FvpGa/XVJIhnWLay6DPigUqhbO BxVyZ2XqL0yJhADTbMBQlyj5VVDqVgTVD0a6awtussMoNNf6Xg+B5EkIVDwSAGqHMJpb hu8xpyXjuCd9Spb/egL1HQoRTVOYrfd7QTygUbTqi9z6+hL7PYrusZCsrvMosqM2DvSK CIpA== 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=FWVa9qZsSTwXwQDcAMaou3FRjnKsGSEHubKbW6QIKlo=; b=iB8+Whbrw1Wsb7NByiGonlFBgyGTQ+3K/xKKpu1NnhlgxNAkRHYzmsBJIRGjnvGfrn U2oEKQbU035x9vi9/YYjBOtw5HBu+pYPUq9zmbC70hgz9avGg6WO8UIvi6tIS0NyvvGH osSjT8ev+iBF2gI69057jAfWb2MHToawjN88X+Tk5C56pPhFoR2iOvNcNezYy566wOzU BIY2hcB6en2Bop42ad8Wl9loXy73QygBxE4P1Amhwh8vvxJe6o2Cd7wtksCnU7FmloB+ 5lxCbMSK0FaMLa2r/+dGxqm3+W2BcbE/XvqUThGi13wY7Qjjfqxq6esBZCDD7syXwtPA 3duA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DxQulxvf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bg15-20020a056a02010f00b003c5f7602e42si12402593pgb.92.2022.05.09.00.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DxQulxvf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8A0EA14CA07; Mon, 9 May 2022 00:36:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389566AbiEFHft (ORCPT + 99 others); Fri, 6 May 2022 03:35:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231643AbiEFHfk (ORCPT ); Fri, 6 May 2022 03:35:40 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D606F5D1B1; Fri, 6 May 2022 00:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651822317; x=1683358317; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SkwnacsNYIuKuqUXcnje2/FShCNjGYncVyvTKO9Qoz4=; b=DxQulxvfjkQmf2kZEqMPCMGYgcLKjLr0cqiBFUzSbcH9cG5hbl5I3UOV tf50Fw9QgJueTPphn3GyaovCGjlpNIISHI1TYmS+BDcO5vyizbEW4vdw3 p56SWaH8i5Cya7VYbhEvUzTb8U/0JeMufZnTwQhajM8ivQnLRKB7evzGh /ioC0nm4Mz6eeJ1zhOSvOOxxJQC/Gk2Oclm/KzRVYUYsZLu48KdrXYBpu bNpzoI3AZU7ofs9wAdfhZRstnYXS/6KHFAYQf+gjNPkjoAgqMQdIAqfJA FpvDYZukra/FYDePJZsheFaIcdKz023yBnCCQj9YA6xfNpX5iQcsfwgOw Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="268527422" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="268527422" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 00:31:57 -0700 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="563686566" Received: from rli9-dbox.sh.intel.com (HELO rli9-dbox) ([10.239.159.142]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 00:31:54 -0700 Date: Fri, 6 May 2022 15:30:05 +0800 From: Philip Li To: Ard Biesheuvel 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 Subject: Re: [PATCH] ARM: dove: fix returnvar.cocci warnings Message-ID: References: <202205031017.4TwMan3l-lkp@intel.com> <8704209d-d487-a297-b05a-5db99f5f808c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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, May 06, 2022 at 09:24:26AM +0200, Ard Biesheuvel wrote: > 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. Sorry for the trouble, we will stop sending the patch automatically and only send out patch after human confirmed/reviewed. > > 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. Got it, we will improve this to follow the right way to send out patches. Thanks