From patchwork Tue Nov 3 15:28: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: 11878139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D01FFC2D0A3 for ; Tue, 3 Nov 2020 15:36:48 +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 79149221FB for ; Tue, 3 Nov 2020 15:36:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="d+zpmtF0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AXfzYrLe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79149221FB 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+linux-arm-kernel=archiver.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=5mXXLkTp5u4i/QYN15pEW9aUglO5auCRvS0ed66a2cc=; b=d+zpmtF0acGCsV+ngQUKwzbqq 7QVIm0RiRpILOggI//haAhWGoi1BNfHzYO78n+O2PapZmcuf/BhGpuJYHciXL1Vi5vXM8NH5SWELz j4Egyz9BC05UfkaSEDLGa4ocR5KJmqkFz8rO+Y8Nn6NYcB0IXpNr50YTTIhsyjqLBT2s1VPyGnD++ a8spASCB55w27usDsH26HfZfeRrE7x5+81IaCbmtNRqQwOFsX+15T0O/XxS/QIg/yBbBUVsxbBlkg TIgkVI8rRZcPAbiGw1AroC1iAPKTpN9gB5m3xvSrXspEEt0bQE0NOcj7ZA10fdbj9KRk8/Z1ZpH++ EI8pcSZMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyLZ-0004Kh-5o; Tue, 03 Nov 2020 15:35:46 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZyFc-0001sy-EY for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 15:29:37 +0000 Received: by mail-wr1-x442.google.com with SMTP id w14so18975550wrs.9 for ; Tue, 03 Nov 2020 07:29:36 -0800 (PST) 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=74kwsd9s/7RX6OGE0ar+JI4L17MZk/RLlZX6k/SU9Ys=; b=AXfzYrLedCJ+NE7AlPtG+hmlhN/nF5QENjl0mUZ7YnvFu0xKosP6t0qLQ1XQXDnLNB JsDvUFBL/YxT3HQ1mr/v2Aq7mOR6EFnQ6UBkJNh18LTCo4enALf5xuUr6Eu7LQL8XoSY GsomjY4Uc9TbW6Q+wcJadiZDvrzquh/TbWMf4+8mu3RtyYZZ734C0tknnV9SDD8Pzo77 b9iEiI89jIPRA+hMdRlS/7kx2Bs2DxXe6JfXZQdj/5eJR56JQMu7eCUKVrATR/oBubbE OV7D7jldWqGCIEw+xlNRy6AMRKb44cgZXmcVs20Vujg4Zwfoxjijfc89kaLcxU09oxPT BHkg== 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=74kwsd9s/7RX6OGE0ar+JI4L17MZk/RLlZX6k/SU9Ys=; b=AkeMDtLr6q1WVmmN8WG9VZfiazkyMdGoJb1XFw6urN4f7b0DNrAN3p6YiUtAClN5P9 cW5Dwhc9pzH1luRJxA7HDDz4/GWpayeCEQ1ZpTj5GJ5gX8Jzq3w4LLXLMWd/zAvL0olc 0Sq4/WsVgCTAekLARYlGmu6W3NPzNFx8E4G3MGs83YtRrg6o2DF8+tb6B1AHyCrdkVZ9 2pUFoL70QyEq15abijexc/DCwt8coVgVXBpVnP97XAmaLSPkDdRzA8xjE3I82OvF5E9B WhqimEHjIlNQOGwKEST1CAduSv9zImK7rQsbm9IfvhshhC/8LbtjLMkcgBoiDjRW4Ye3 LfGg== X-Gm-Message-State: AOAM5330hHIqz4ExEAzd0e19d1DfK0zKgnG0jdqnyNz/2kIAFNu4ueOK uXd1NegSVHO3tUCxr5un5E0XHw== X-Google-Smtp-Source: ABdhPJyWd/yVeEtZYcJjICLwCYXFcFOee58ZBQbIsf5UdHE9S+K9RsdiLWos0KT8fPT+nG9qXPr1vQ== X-Received: by 2002:adf:8366:: with SMTP id 93mr26923860wrd.6.1604417375245; Tue, 03 Nov 2020 07:29:35 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id j127sm3491779wma.31.2020.11.03.07.29.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 07:29:34 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/25] soc: qcom: smp2p: Remove unused struct attribute provide another Date: Tue, 3 Nov 2020 15:28:32 +0000 Message-Id: <20201103152838.1290217-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103152838.1290217-1-lee.jones@linaro.org> References: <20201103152838.1290217-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_102936_884752_E20C014E X-CRM114-Status: GOOD ( 14.55 ) 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: linux-arm-msm@vger.kernel.org, Andy Gross , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bjorn Andersson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/soc/qcom/smp2p.c:74: warning: Function parameter or member 'flags' not described in 'smp2p_smem_item' drivers/soc/qcom/smp2p.c:149: warning: Function parameter or member 'out' not described in 'qcom_smp2p' Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones --- drivers/soc/qcom/smp2p.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/soc/qcom/smp2p.c b/drivers/soc/qcom/smp2p.c index a9709aae54abb..43df63419c327 100644 --- a/drivers/soc/qcom/smp2p.c +++ b/drivers/soc/qcom/smp2p.c @@ -52,7 +52,6 @@ * @remote_pid: processor id of receiving end * @total_entries: number of entries - always SMP2P_MAX_ENTRY * @valid_entries: number of allocated entries - * @flags: * @entries: individual communication entries * @name: name of the entry * @value: content of the entry @@ -65,7 +64,6 @@ struct smp2p_smem_item { u16 remote_pid; u16 total_entries; u16 valid_entries; - u32 flags; struct { u8 name[SMP2P_MAX_ENTRY_NAME]; @@ -112,6 +110,7 @@ struct smp2p_entry { * struct qcom_smp2p - device driver context * @dev: device driver handle * @in: pointer to the inbound smem item + * @out: pointer to the outbound smem item * @smem_items: ids of the two smem items * @valid_entries: already scanned inbound entries * @local_pid: processor id of the inbound edge