Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp260055lqh; Thu, 28 Mar 2024 00:39:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGQnPuhX0SwNyFYDEMyk0uNIPI7RfojI0wHba1wy4CcWPK6kOOCnL/IFp68VeUBmeHWELXkya8QijbLdA1bqxzA2jiSNUwg8M1m6JCRQ== X-Google-Smtp-Source: AGHT+IHZXG5WOe0X9atXnZHTdH6H7tH4y1hU79YEs3QVfSJ+ZQN4gwY6XXvF0v5g1qwZ4Smk4Vr3 X-Received: by 2002:a17:902:d4c3:b0:1e0:d579:91fd with SMTP id o3-20020a170902d4c300b001e0d57991fdmr2557000plg.7.1711611589215; Thu, 28 Mar 2024 00:39:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711611589; cv=pass; d=google.com; s=arc-20160816; b=CEcInz6PeJQSGM5A6eCcrE+dX1uFrqH/J71QXtDjSQPtKALaFYmAMx7DC5Cd9FaWtA 77PzT52Jwoj4XEx0ar2Cfjf7w81SzEj8j+rbHASw9P96e2rexMl/vJuyZOxOT3CXRlLm tRPRK/Nk7p8sjrWLVrpKfzZnEB6tusL9KSx27fbVcAwdLxFCXOiJ82X0aVllUxobmLBV KSxTYKqiU0ZDeCMes6248/V53IcmOcrTC9enEo1E8/DudDx9gPV5zQbjaqQOhAkM0RTs Gde5NHgYpJSKxlSk0vy/bITJFajqgUm85I+ZiTTJbEfkf9o8mQEuslfmHXYoshhox62K yQzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=l6zVQlvm1nbKBobS5xKARJbqKZsPKmQDYvb4t26eJRA=; fh=ZNxI2Lcs4lryk/vvPvqCe94/hrxOHVOQLLVHlY1ZutY=; b=keeEEuyT9MfSQLgGUC0v1oKi/zXU2GYVAxwU9k6NcUVwAf4kWnItb2B/aDACzLPyDy Io87CeK7UAwdte3sLSiwvdme9HhaCaUe/Hc5eVEX+vAIWikOXif3ns+IaU4LH3pWmD4d FVAwaO7gl8Uy+cCNMHpvpbMBs3lKmJJz8jzTM7dYSxwMGuxGo0rHPY0LkM7QRzJhalGU H+VxW/MbJg/ChM5x25fOWWAye2CIbMkzDenoEOujNVwrUoJz22Psn2trZurKNWGn9+EB +zPDWH1ko2llgqmiyLkx0j5m7Ic8TUjtXVH+8E2svu3F1ksxGzn8JLpRBQhToT+NAuG6 K1vQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzXDtiMj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122512-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n7-20020a170902f60700b001e02939f44asi893591plg.580.2024.03.28.00.39.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:39:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122512-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzXDtiMj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122512-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CE98B296E74 for ; Thu, 28 Mar 2024 07:39:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 798D051C3E; Thu, 28 Mar 2024 07:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mzXDtiMj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9089239FC6; Thu, 28 Mar 2024 07:39:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711611581; cv=none; b=rqebFjur6WY3i1w+4ONm0eFPym8dDM8JEcMkCGh2zJAWPwz4uyliAiwx+xEcifH+yFfmhGPJ0KhBcMSMUCqQ58yeVceckqyn3qakPi3QzudCcIzKieKZZyVODC65WjYmAPXGvVFp2arQWt3DWyPrL0m811hxCPQhZzB9DPlb5Q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711611581; c=relaxed/simple; bh=j2fecunGf2z206NzbuhZVhae6PguWXtF1jN4ko+Qk6A=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=I+EJ+EX/vV3ZwHu/K0+At/DjsAfwX+yZSnu1AgubKZvkM1gIc44lR1rHeUEBsQIGgv1s2WZRa572AjyWJQMSRfg1TzwEWPCV/eL8JTKQjYsGu+SC+BI2XYCkwbPxKbXjQ09YqYyfBBbALMErv2EazJy7W0Ybd5hWGqAt2euJiFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mzXDtiMj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CF47C433C7; Thu, 28 Mar 2024 07:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711611581; bh=j2fecunGf2z206NzbuhZVhae6PguWXtF1jN4ko+Qk6A=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=mzXDtiMjwTUnjifYo0LhCLPcO+1bwT0CitQmJUs/rFiAbkNL6H2YmohGRnS/lSeaf sDrUPbms3pcO6baStESjextCTz7lHVTPPofrdOVek9lOO/feshIw6YkqYWYVI+CJlC sQc6Qs2fMEe/yrog4CthJix+Tftiu6gqmIXlTDIGn6ZPJcTtGC4qaa7+OJ2kb9VKcO lNDBFH70yy/a+NeI9ebAL2HoWdgAbqzpO8MddZiiiELpJVeWPWE58t2ysgMo++e2Ci hyO19+NUTMTr9JW86vEE1aW1wK3APPWHMbyeIP5vPzQL2qYRg+mMI8SMVUJKYXzj89 awTZf6QtkShjw== From: Vinod Koul To: =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Nathan Chancellor , Arnd Bergmann Cc: Arnd Bergmann , Nick Desaulniers , Bill Wendling , Justin Stitt , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Randy Dunlap , Rob Herring , Zhang Jianhua , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <20240322132116.906475-1-arnd@kernel.org> References: <20240322132116.906475-1-arnd@kernel.org> Subject: Re: [PATCH] dmaengine: owl: fix register access functions Message-Id: <171161157512.113367.10881464487051334801.b4-ty@kernel.org> Date: Thu, 28 Mar 2024 13:09:35 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Fri, 22 Mar 2024 14:21:07 +0100, Arnd Bergmann wrote: > When building with 'make W=1', clang notices that the computed register > values are never actually written back but instead the wrong variable > is set: > > drivers/dma/owl-dma.c:244:6: error: variable 'regval' set but not used [-Werror,-Wunused-but-set-variable] > 244 | u32 regval; > | ^ > drivers/dma/owl-dma.c:268:6: error: variable 'regval' set but not used [-Werror,-Wunused-but-set-variable] > 268 | u32 regval; > | ^ > > [...] Applied, thanks! [1/1] dmaengine: owl: fix register access functions commit: 43c633ef93a5d293c96ebcedb40130df13128428 Best regards, -- ~Vinod