Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp116893lqo; Tue, 7 May 2024 14:09:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtb91jIPVqy23lXy3siw7XBB8eeiW8Md4V5R+14WsvVt5wBLupQLtsbdXehN/9+9LLuT8WlpTLovwkfXnqhaWYaa69CkMh2r3XyhfZTQ== X-Google-Smtp-Source: AGHT+IHrotBWezuanlyQS9gvPSZPIZquHH7zSoDGt+qBI26Iy63VMVpvlNnhPXHBf0NfUdXbQcoX X-Received: by 2002:a05:620a:2551:b0:790:a960:28f4 with SMTP id af79cd13be357-792a64ad062mr597571385a.25.1715116170766; Tue, 07 May 2024 14:09:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715116170; cv=pass; d=google.com; s=arc-20160816; b=ovPpaE/GK+RceqS9ZkOD1Gf1i7ztt9cNo3D2DfxVakcZ8aB2lGKYYRm+GzqwycOpaB E99PabM2WNd4zVWa+/T++Eyn4NaF2kTKY4IPZW6PnNnhJ4xm1RUp05TLuR6q69qIi6Eo hbZzIV6N4dWjgEKjc/ssQxP6QVTcfZ7I1qmAMmyQ285XkKttbr7n3P4UETbyhqmSljdH u8pfCk+gSEW6SyASBu8vJt0pJlzDE4LJVzwHMKmydbdkp07XXNgD5z4eJa3Qd4oINAtD B9SfaO+QMT9yclXQtkCmn/0agrhy55KWdf3t5chbe8XnsCaUB/q58oFqz5NMnBsO8Nec zu2A== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=PoKpSXZdyVt0zEDqOKzb4i82dGLqGZVS9REbNRCKe8w=; fh=zMqz0EhlP/Kdp8xKYGCXNXp4fjAlj6i2cQXvtWVsRBI=; b=ETYvJp9QtOQTuTvbyAtDTtzbpV/pbcXqpeMxRXTR6e6lixcNMDpk54FEApKNGeT8qF 3+EDU0A614kuLCrd4+UXAn686WDLQxUiyPr1n/YOCfs+YHaO87EM/MD2V2ItbGyL/6nL yQEwsORQb93zjRtLul1OflHJZcn4AN6r6NjJyuCyPLTy+3nrrRf7DXrApWChOj5/mo1h v4sUBdbHE7Wy/L9Jo2y2s24xe5zGsSsyoY2gVRl63Av/EiktwlxdpdhSwBArMMhhxHZY z+TgJXVxlV1UVYjiWzD2PJsBkiUylJ3jWGCxV1zHi5E/ZzTUhadoNFBqrZE76Lo6wiQw el7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QGtSAZ1C; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a6-20020a05620a438600b007927df9962dsi11626210qkp.621.2024.05.07.14.09.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 14:09:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QGtSAZ1C; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172199-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6C0281C23282 for ; Tue, 7 May 2024 21:09:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0E3016F0D1; Tue, 7 May 2024 21:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QGtSAZ1C" 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 F3F8816D4F4; Tue, 7 May 2024 21:08:14 +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=1715116095; cv=none; b=nnghtsuIXjzi22DkVVaL6l62COIAZqKJiTd3l5UqCfxRaiq4PPPQXS6z9OffZK9oSnoLykM9IufeCaciSHBIbd7cDeTQJVo4HTpWQyPUYDLZGMMGPV01ZjH1O02q2Knf4eI5FB6DY1PPBXIry7gHusoTldg6nxA+FAk//lbAeDU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715116095; c=relaxed/simple; bh=WMVf2oXI6SZDlxicVvLWUrdlJrbGyN0El+cc/ed111U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O0e6IfsQOZfcLF8pKepf5nFqlpiePgq5Lqu3OTROr5mn3Yz9elluzYec46o6dENKLfvGvVSn5v5QZAf2ZHtWKZ1LafUf6G04CzGEBMeXF9MKCZMmg07xxcUvkSuiTGLjjp8VxOFWMGccF7hSFXsM2l8kiDP9DiOZemCvTTKDuZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QGtSAZ1C; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94DE3C3277B; Tue, 7 May 2024 21:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715116094; bh=WMVf2oXI6SZDlxicVvLWUrdlJrbGyN0El+cc/ed111U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QGtSAZ1CvMLrZsm5XzuVOAtqzN3wJfpw4e27VCWOM7JvDcd45QO8sukoQyJZ1wDaw dtoppLFP4YWTQWBfDLYaxVulUsEdNz8WsvTuyYy7qLau+YPinr93TRxTTY2cKvySTG yCUqD9e0F+fhx8p/GAn9I07t6/H2YVfWTtF4zLm7aG/bVzLbMPL7ZvWE41Q70zSjOX EEXT04ElDbw7ihUCgo6YOQ7DOWaal+Gzv79ja4QNa21EQlSghS3CC8sTTsmvM2LWCg yXZyXEEqGrmuKLM+gQHWmB1b+1XcQ/OaWWP7iBOPEKWewLIpnTAO3Mtc6BXa0lApbl CojyC9Pxn8obA== From: Stephen Boyd To: Greg Kroah-Hartman Cc: Abel Vesa , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Neil Armstrong Subject: [PATCH 08/12] spmi: pmic-arb: Fix some compile warnings about members not being described Date: Tue, 7 May 2024 14:07:45 -0700 Message-ID: <20240507210809.3479953-9-sboyd@kernel.org> X-Mailer: git-send-email 2.45.0.rc1.225.g2a3ae87e7f-goog In-Reply-To: <20240507210809.3479953-1-sboyd@kernel.org> References: <20240507210809.3479953-1-sboyd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Abel Vesa Fix the following compile warnings: warning: Function parameter or struct member 'core' not described in 'spmi_pmic_arb' warning: Function parameter or struct member 'core_size' not described in 'spmi_pmic_arb' warning: Function parameter or struct member 'mapping_table_valid' not described in 'spmi_pmic_arb' warning: Function parameter or struct member 'pmic_arb' not described in 'pmic_arb_read_data' warning: Function parameter or struct member 'pmic_arb' not described in 'pmic_arb_write_data' Reviewed-by: Neil Armstrong Signed-off-by: Abel Vesa Link: https://lore.kernel.org/r/20240417-spmi-multi-master-support-v10-3-5bc6d322e266@linaro.org Signed-off-by: Stephen Boyd --- drivers/spmi/spmi-pmic-arb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 937c15324513..12c0efd744c2 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c @@ -132,6 +132,8 @@ struct apid_data { * @wr_base: on v1 "core", on v2 "chnls" register base off DT. * @intr: address of the SPMI interrupt control registers. * @cnfg: address of the PMIC Arbiter configuration registers. + * @core: core register base for v2 and above only (see above) + * @core_size: core register base size * @lock: lock to synchronize accesses. * @channel: execution environment channel to use for accesses. * @irq: PMIC ARB interrupt. @@ -144,6 +146,7 @@ struct apid_data { * @apid_count: on v5 and v7: number of APIDs associated with the * particular SPMI bus instance * @mapping_table: in-memory copy of PPID -> APID mapping table. + * @mapping_table_valid:bitmap containing valid-only periphs * @domain: irq domain object for PMIC IRQ domain * @spmic: SPMI controller object * @ver_ops: version dependent operations. @@ -232,6 +235,7 @@ static inline void pmic_arb_set_rd_cmd(struct spmi_pmic_arb *pmic_arb, /** * pmic_arb_read_data: reads pmic-arb's register and copy 1..4 bytes to buf + * @pmic_arb: the SPMI PMIC arbiter * @bc: byte count -1. range: 0..3 * @reg: register's address * @buf: output parameter, length must be bc + 1 @@ -246,6 +250,7 @@ pmic_arb_read_data(struct spmi_pmic_arb *pmic_arb, u8 *buf, u32 reg, u8 bc) /** * pmic_arb_write_data: write 1..4 bytes from buf to pmic-arb's register + * @pmic_arb: the SPMI PMIC arbiter * @bc: byte-count -1. range: 0..3. * @reg: register's address. * @buf: buffer to write. length must be bc + 1. -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git