Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp440386iob; Tue, 3 May 2022 01:37:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywGhNRRLpxJKH5T8V6XUzwpYyitHsyWFSzNlEpAKb9xff8Ot074ZBgrkjuwJwsbxxdX7ry X-Received: by 2002:a05:6512:1102:b0:473:ab4c:e135 with SMTP id l2-20020a056512110200b00473ab4ce135mr1263455lfg.546.1651567055914; Tue, 03 May 2022 01:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651567055; cv=none; d=google.com; s=arc-20160816; b=Bfawuo4ukZk5PsDU8yAGdIfg+NkD2jyHwnKr7OjbPV1wVODJlL91OUHV6bxbTz1Af4 WiOzTGA9SLeHWVXcc51zN71MnhoP3PYjo3wv+rl7owZBFsHX2kyA2JQB1aWHTaZ7FVgF D9QdIdalR1afmenRRwLcSUzh8LeZOB1/bj570UdWaOkVldEgy2mdpaO5/aWJ04oS+QzR pZJWdDZgU05ZQ77Fmi7KFnCfPeqdQNf7ScRZdY5JXZKaN+y0Z2xQRkF+1AQKeK6nPDvQ xXGcz4onxAgIwo6ggtGekPbDedWEptDuSOC+D6QQIWKW26MbayCZhvRvoS2MVmY1AJ2E UJDQ== 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; bh=zkClzB95tlQhzDJtu4xv+h3YljT4jSL4D7PBRfrMzI8=; b=EPemc/yaYOD1sHwMdysDNBpL1+f2SpIZOQwZQYaRoCYeLYX+o3hnmnL2hp0ZEWs69f Ms5xdbkpjnOEtf7aaR70N+sUmckYaSJ0qydDWXK2bKCbB5j7JhMq2zDkhHsTgrE7YAJG PG6y8HffRBIaJTf5Ymckf5oV/2Xb2j5vIXTYJXo/q+9IsOowT3f0YdIu9ypyWlO6Q+aG lTWH+ZrFwynpDrM/TyzmqB3GyuyPfGHitfp18M7uuMDJJQcBGlukPZeDJ7OlHiP0DF45 2vjoSzSRCdB/mODePWmEExmAvJVnIVOu9OgEXYbtI88wg5XrlLHc1kNQMA48sr0VEx2x 3qqw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020ac25cd3000000b0046cddf22e59si12781750lfq.10.2022.05.03.01.37.08; Tue, 03 May 2022 01:37:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232153AbiECH0T (ORCPT + 99 others); Tue, 3 May 2022 03:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232186AbiECHZ4 (ORCPT ); Tue, 3 May 2022 03:25:56 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1AB127164; Tue, 3 May 2022 00:22:08 -0700 (PDT) Received: from mail-yw1-f172.google.com ([209.85.128.172]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N3KgE-1nuy3Y2gPy-010Hes; Tue, 03 May 2022 09:22:06 +0200 Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-2f7b815ac06so171033297b3.3; Tue, 03 May 2022 00:22:06 -0700 (PDT) X-Gm-Message-State: AOAM531PW4WfhALUGYWaRQ5GaiKb8wrevqIqQOC+ZkhwdWF101mrKAUN NcsF1AfuAVCwXUZFnINvuZDKarmyUMKW3uFURD8= X-Received: by 2002:a81:9213:0:b0:2f6:eaae:d22f with SMTP id j19-20020a819213000000b002f6eaaed22fmr14551172ywg.249.1651562525321; Tue, 03 May 2022 00:22:05 -0700 (PDT) MIME-Version: 1.0 References: <202205031017.4TwMan3l-lkp@intel.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 3 May 2022 09:21:49 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dove: fix returnvar.cocci warnings To: kernel test robot Cc: Arnd Bergmann , 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-Provags-ID: V03:K1:KBcmf8L+L6p/whd/P8ba85SiL61sT4pvbWzzB3TTUwYaT4iudsB WX/5N7nENNe1TewNk5ab96T2a9ZlV/gizqjJ9QQyArl0Ny9oVqGJjLM7ZdsPGz83iTqbMEK U/cpyXVLIYuCJ6RyNjiXW0Tl5XZ8Q5R5l8hAXPQEXjmEvFdWveY2fCBNVS2SNYBihl7CtJD iHzLJjA2j+Nbp489PmINg== X-UI-Out-Filterresults: notjunk:1;V03:K0:iQd+zec01aY=:f5iMHfS5U4pzqZdIp0fqY+ Y6WdcyOJiGWgqe5lilgTB6y+MjEmPnP3StTreSrVA9T2YpZIECmh458DX0kBTl4q81hpk96o+ FWiMlQuzHuW/S10Tv4J58XhjJF9sDWMWBvm8jSjlua0u8PLsI7hwobUjarNdYR4QCPLgTnSkd Q7kzR8XFq/JOVAQCN4Ku45efxA0a0/bvW/sK0j5+A81JjlMmrQi5u4wjbJkzBVlFnZsIV/wyT f3GznbdHwPK2uQluAhYZdaA+sB3VdSpyi82B6Hjf7Nbh2LP/vL+mFg1EgcOGbserp5yh3up/d nySq3oe4UgbGGZqpCxXJ832K/7X5E4YSerp1RST6luT34WW8aVvTNyK3Ct8iFFCkbarqx2WoD dmlrc7ytFixkTldf5SHuXOYA0VHglBTh9jhgzaRfouD7Z5BbKFjG326u8QEhRK87fD2+Z5Bs0 0lCWQSRFnvxv+cGeIC20Z7HEz9YJNA3EPKr36Rkm1EdU9nphzme9rXziHTFbU0/8mkDiidUWV 3tv66vAZcx+glMLTEfikIZkHVk+Km50LVUFwqLq8oD8AFyIDUNVe4tP1w/olWO5wVFBLxszFT 6QvMuexZfPY7461Lgio7/z/TFMbibgm4P59QsIDeAWO4dWThu9gOPgtqJVjIl0G9VNiRu24H9 493j/8AY7FVwu+p9GAk2lnrPgTrOxJJOsByvegxi4ivAxh3dxcPMNuQmoatMQ3K6ZWd4/h+j6 v3GrlMubPjaqlY19vOFldHutSHblVU61DSGtmePtuSkvf/EBauo2W2HqnMb2fA5HyKoJX20Cs wcKaynjoYaT997ZXvxeiqVn3v9fVPBNGJXchUeg7QpewbrQ7nM= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, 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 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. Arnd