From patchwork Mon Jun 29 14:04:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11630999 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8378912 for ; Mon, 29 Jun 2020 14:08:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78E5523D9B for ; Mon, 29 Jun 2020 14:08:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r/3XU/5E"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UhjCZd7W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78E5523D9B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O/P9qeKTXSDyVJPeI/2wDCDaXuGuuJ/0hq5MWFqgji8=; b=r/3XU/5EGH2DOXrudfrnx1m8Y vzfVNA/6ERkbbimDyBG+3F6vDS+KShdJiRQ1LPGsjUUTBI5NRxv5YSle/1BdND0kR+PLOqwhbaEeu BZK1a3Jl1nJ1mMpGmEFcnQif6yRELnQbqyI4Xi7zH9+5QgtA8Rndv7Cy4rkH9lKtyjtv8wgCy6K79 DczEOWmYmV4vTGTzz2Tb87glyi2XSXyu9GPBlYBmSLKW3vX5Oak9FybQZBLQNzgHyUOLCK4kHlzCz dwFkIp9vodfPly1fSwTQIIsoaU+vgDdzDSiv8kyknDniYlZwjOjOMarXLjKP5k0bs07EgHR/wmQ7K 93H3AbzFA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpuQB-0004ea-52; Mon, 29 Jun 2020 14:06:08 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpuP4-0004Ex-W5 for linux-arm-kernel@lists.infradead.org; Mon, 29 Jun 2020 14:05:00 +0000 Received: by mail-wm1-x341.google.com with SMTP id l2so14759287wmf.0 for ; Mon, 29 Jun 2020 07:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zFg/20zEaYelN+bfrfecs/17poyLmNxtGMsllJMhgRc=; b=UhjCZd7WNhGjoLDr5PyNeZnltRSCoPXKyAHQgfTsZnaLk96ITbriliBHRl55k0eDJx lc3n3EKymPGCS7unDwOE063XuLFpjB1iQAYFZTgz6tyySvF4yoaosDvst4ifsKgVhmN0 LNPrO6GKlT5E6LwyirkIJorC2j5C4qh6EJoyY465J+R2Xs4hziqKqz1uaTVzlsA+pn3z gcTXxqlLkpSrB2zUsNjQzVNKBajJz1mQaknOq5scO/mQ6+uWRfqEMbL8jlgwOjLK2+sR LzTx5lmYPk/Hf2baptXHP4/mApmazi/TAZpWe3byTGbgwYtrag7D56WH3ZziZygGlE1v oGlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zFg/20zEaYelN+bfrfecs/17poyLmNxtGMsllJMhgRc=; b=G3hIKrOgK/Wz+1y2xsiymzJ32xT/gVMlQCBoxxv46d2FY/hhaAYFsCH84UU1kAFsRz xmCHId+yqWHrQFv4lr/Iq63VgaAu+4QZdf3Fh8WKv0UcGz5BB10n/Csx4TPEeIMN2Wk8 HffSqpIQn0dAL7j4mJpQaJgHH8cG0ICQCjn8E30tjxyvJrzU4Am4vjK5/AVrcT1maIHM 0zA7/NWlRAnJGSzwncyMY2sA+B6LuEERFHpi8rhNRmvYi3TUG+HB98ROxKWonB7dzh65 aBFA+V36qZExoWFsXIuhgFr5ki0QiJ5czDVQu0elV9wooGaNFppL6rO/vSFz0f+xTpYU uQEQ== X-Gm-Message-State: AOAM530ylZphVcG5qXyKCfbOCz6XUAcgS6pNgVt3O21lUBkAeN7A5pV/ nwk47Sz8g+aexJuSGWcvBGINsw== X-Google-Smtp-Source: ABdhPJxVASpcY0mI0vJ1KMxWvt8KciiXaLwY9KmwNnvFBmpGV0B9lPz9rGOhshF5HA/le49SFgxcpw== X-Received: by 2002:a1c:2e0e:: with SMTP id u14mr16716253wmu.55.1593439497936; Mon, 29 Jun 2020 07:04:57 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id p14sm15394928wrj.14.2020.06.29.07.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 07:04:57 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Subject: [PATCH 10/20] misc: habanalabs: gaudi: gaudi_security: Repair incorrectly named function arg Date: Mon, 29 Jun 2020 15:04:32 +0100 Message-Id: <20200629140442.1043957-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200629140442.1043957-1-lee.jones@linaro.org> References: <20200629140442.1043957-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oded Gabbay , Tomer Tayar , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org audi_pb_set_block()'s argument 'base' was incorrectly named 'block' in its function header. Fixes the following W=1 kernel build warning(s): drivers/misc/habanalabs/gaudi/gaudi_security.c:454: warning: Function parameter or member 'base' not described in 'gaudi_pb_set_block' drivers/misc/habanalabs/gaudi/gaudi_security.c:454: warning: Excess function parameter 'block' description in 'gaudi_pb_set_block' Cc: Oded Gabbay Cc: Tomer Tayar Signed-off-by: Lee Jones Reviewed-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi_security.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/habanalabs/gaudi/gaudi_security.c b/drivers/misc/habanalabs/gaudi/gaudi_security.c index 6a351e31fa6af..abdd5ed8f2cf6 100644 --- a/drivers/misc/habanalabs/gaudi/gaudi_security.c +++ b/drivers/misc/habanalabs/gaudi/gaudi_security.c @@ -447,8 +447,7 @@ static u64 gaudi_rr_hbw_mask_high_ar_regs[GAUDI_NUMBER_OF_RR_REGS] = { * gaudi_set_block_as_protected - set the given block as protected * * @hdev: pointer to hl_device structure - * @block: block base address - * + * @base: block base address */ static void gaudi_pb_set_block(struct hl_device *hdev, u64 base) {