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: 320425 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp4676779ilc; Tue, 3 Nov 2020 07:29:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnEzfQ+6MY5evyAgxkFURQbnwPXJqp/S08W7e/Vheh0AUUymdWC84t2Mv4k+0cMbFTB6Ja X-Received: by 2002:a50:a845:: with SMTP id j63mr17583696edc.32.1604417379819; Tue, 03 Nov 2020 07:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604417379; cv=none; d=google.com; s=arc-20160816; b=WthkTDSAPD1mLfYVlNHiokx6ay7FzQ2gaTCqN6wjmi6+zIrqWzrs1u1/Bp/1TDU3GV McWHKUXI9E/2yT1QJQ5MSZT57tpKYKgdzdFXgf2PN7CSqRmYwTyPRLRdbKnBUq2hJYLb rNVBn43q8ZacntcSJ2SRTNq/H9rSLmfMOzqKGU799YkRBjwWA68A/VM1CgzrfjLxb+o6 klfjHG2wVjl/fFhutHwBwmq3+1XSvMIDJET0Wu+mQ8sOU2dsrIi9hT73FYp59fLeYHHz YwEDa9LG8BAEvu+AaM/q/qNBUoucK0YjUwrR5vxDozHl+u1Qx7eJNAlJzlAfeIOtJfIP gfwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=74kwsd9s/7RX6OGE0ar+JI4L17MZk/RLlZX6k/SU9Ys=; b=qLzkKiY7eUcuss8s/Fa8qD8Quw2EbfJnvZ8URtFGjXwHVbL5B9dKpmkwn/5SYQlCKm 39p4vrzZOUTAMMCySK8SLsk2ocpoV2JT+a1Pqa2ELFmDifD/+vMSQy8AsDz2l0swrqGX YayBn1zfEQFQSMT6JgDCrvD/WyGFTEDgmE8+Q3rByELCLz4jtmFKQYmZORjGWyGpbU5Z B5xhqkBbAGrxNkS+yLi38xifRll2XalVFE+NlWWUVu43gXDC9iFRlUIoyVfHmji/us3R z+HhGIVGzEg7Cga1vpASVdo6ue9tTY8vlLxqA38AK3Fhk/GAziMsr/nssdPbGdKV5YBG z4tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AXfzYrLe; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si1671819ejd.534.2020.11.03.07.29.39; Tue, 03 Nov 2020 07:29:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AXfzYrLe; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728598AbgKCP3i (ORCPT + 15 others); Tue, 3 Nov 2020 10:29:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728592AbgKCP3i (ORCPT ); Tue, 3 Nov 2020 10:29:38 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72B8EC061A04 for ; Tue, 3 Nov 2020 07:29:36 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id a9so18973533wrg.12 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=XF9yZMEruxJ4tL/JY+s/NdHbzk3NygbbpBpEd20mhqCvnrDc6epFLboeGqBugCGYsi 8hO2nB9hwPyVzYxZnFXY9n1/Z3323uLjNbpLbiqmDtO6CAKUTkc00Jn+sLCI0yBAkgXq xoojH/DqrJDBqCid96xhSoTtyKxYHDP0EG6VwXxaAJUxALwAS/hT0G6WllOVPFUot2Ql Xg2ygtfl+IN8hs619ZkZHGrdlJnTV7EHRKTcctVdG8oZIUov6DVBUFxDVhPNVjfXgmOI koZpgTgsNLnwiV4o56vs11Cw6R7kFR3Ius/bUfws6MPfY2sYQt+yN+9/wnlaXFD+G7bw cKgg== X-Gm-Message-State: AOAM533M/cPVRLVDBTOBpmp2N2UUVY8izFCvPe/2z+aK4CUh/aiRtr2C PXxbPyixKFxCiT6KlCY+YwrVXw== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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(-) -- 2.25.1 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