Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2873979iob; Fri, 6 May 2022 12:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4INWlhmvF1Qgrm7HM3lAyyHmaGJZC5QnuvNeRmgswvmtxpUh03u9dZceqnbOLr26r/8c9 X-Received: by 2002:a17:90a:ec16:b0:1da:3249:685b with SMTP id l22-20020a17090aec1600b001da3249685bmr5799936pjy.101.1651864517957; Fri, 06 May 2022 12:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651864517; cv=none; d=google.com; s=arc-20160816; b=gl+4Bt7YWPnfcqVc8SaH8wP4y0n2tLoDosXCKuPCzsy7H4TOnelI5ra6sMYq/cccUI 2+YyavjUT8n+seJ6yY0tNjFZtcqeEFM+UkkHcztQDgU0fiudSdiQ+NStZ/54o6olk63V zWglB9NeR2UgaUudWtrhSSuA+iqFjlufL1ywovngj2aRx2kFgRx8KA0XtrKHdjBfp0/z PJQ1UOog6ejS10Woa0721u9EmqsBuJNaQHbGR0pCnpRYVvbhjqMcF/MAOa55YHWbD577 ju9Z79VVGmHV/Kv6enbCzuhgQD0rYDmh3+XwD+U9zhlRw4z5t6VtCYThTOFVbu92yFZ5 udkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=65ebTincKnLYUeXd6PeEZPkhFkbjjvcpEjYi+6SlMjY=; b=ofQih5ohcv+h6/PJEvvA5UtcWCMhPas7Eu7hC3x++obho1ZqfHYVHAkJOUyH0MS20C JRqOkcstjZI/omLwZs4bMiLV05Yr4IapvtvfDDXyXjjoLl8ikJ7yXDzckssfLLdGqGu3 2ze+EtjFgIJGo+mOFu7fFyHWA8VEMZuTls9HMe+HbgQhLNtlRwg0cXXPglBC/XgnyH8X 68Qym3GYwIWcEQOQhbzujKr78eM3cBMREku9PTIvQDjd7OcvHCkizIQLbR3eC86QYAkA A0QB1nL0f9mDY+AYrOW0byFYPls9/x/RR/JJnDUrsvxffXulJg+Nn/5pPj/QHGsAL6pP 3DEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KSBY0jJm; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a170903231000b0015e92bcc291si3317817plh.73.2022.05.06.12.14.58; Fri, 06 May 2022 12:15:17 -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=@intel.com header.s=Intel header.b=KSBY0jJm; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382021AbiEEQfL (ORCPT + 99 others); Thu, 5 May 2022 12:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238980AbiEEQfK (ORCPT ); Thu, 5 May 2022 12:35:10 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5B76541A4; Thu, 5 May 2022 09:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651768290; x=1683304290; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=J1ejMXF3Bd/GCmguw/mohOzkY0z/abBYcpbEVngnjig=; b=KSBY0jJmug1QLSllDfxfXJoymE8MCbG4vSp2SNpi4ko5CBkdKaYBv8na oAXqk5im1MyZtnkOM4csj/zmr80lNEEQ7bqQmSZxkCOtyDBVO3eKHn3LC 1PPAnTDzVJDbY8uTYACwn3Q4x5uNwT0++oMXF2zrLtJJEnL3G41GXw3ZD 13Xa6qKC1hPOF4m31Wx5RFd8gArAec5xgL6KLT1dU8UbjJmkZd514vGnJ JqXWoWkKYQADCLBK5IzN4yKtrL9bwTwmvwHr6/JLbAEhvkGVeRGWYGJO+ zMb07850Elzk6kMAx94ejo55gHydwI5wSgXjFw3cZdUff86bALm41oqDH g==; X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="328713910" X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="328713910" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 09:31:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="694739879" Received: from evegaag-mobl1.amr.corp.intel.com (HELO [10.209.187.127]) ([10.209.187.127]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 09:31:17 -0700 Message-ID: <8704209d-d487-a297-b05a-5db99f5f808c@intel.com> Date: Thu, 5 May 2022 09:31:37 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] ARM: dove: fix returnvar.cocci warnings Content-Language: en-US To: Arnd Bergmann , kernel test robot Cc: kbuild-all@lists.01.org, Linux Memory Management List , Tony Lindgren , Russell King , linux-omap , Linux ARM , Linux Kernel Mailing List References: <202205031017.4TwMan3l-lkp@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,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 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? ;)