From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vladimir Zapolskiy <vz@mleia.com>, Dennis Kovalev <dkovalev@ru.mvista.com>, Vitaly Wool <vwool@ru.mvista.com>, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Date: Thu, 20 May 2021 20:01:00 +0100 [thread overview] Message-ID: <20210520190105.3772683-12-lee.jones@linaro.org> (raw) In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-pnx.c:147: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:147: warning: Excess function parameter 'adap' description in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:202: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:202: warning: Excess function parameter 'adap' description in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:231: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:231: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:301: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_rcv' drivers/i2c/busses/i2c-pnx.c:301: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_rcv' Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Dennis Kovalev <dkovalev@ru.mvista.com> Cc: Vitaly Wool <vwool@ru.mvista.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/i2c/busses/i2c-pnx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 8c4ec7f13f5ab..50f21cdbe90d3 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -138,7 +138,7 @@ static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_start - start a device * @slave_addr: slave address - * @adap: pointer to adapter structure + * @alg_data: pointer to local driver data structure * * Generate a START signal in the desired mode. */ @@ -194,7 +194,7 @@ static int i2c_pnx_start(unsigned char slave_addr, /** * i2c_pnx_stop - stop a device - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Generate a STOP signal to terminate the master transaction. */ @@ -223,7 +223,7 @@ static void i2c_pnx_stop(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_xmit - transmit data to slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Sends one byte of data to the slave */ @@ -293,7 +293,7 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_rcv - receive data from slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Reads one byte data from the slave */ -- 2.31.1
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vladimir Zapolskiy <vz@mleia.com>, Dennis Kovalev <dkovalev@ru.mvista.com>, Vitaly Wool <vwool@ru.mvista.com>, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Date: Thu, 20 May 2021 20:01:00 +0100 [thread overview] Message-ID: <20210520190105.3772683-12-lee.jones@linaro.org> (raw) In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-pnx.c:147: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:147: warning: Excess function parameter 'adap' description in 'i2c_pnx_start' drivers/i2c/busses/i2c-pnx.c:202: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:202: warning: Excess function parameter 'adap' description in 'i2c_pnx_stop' drivers/i2c/busses/i2c-pnx.c:231: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:231: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_xmit' drivers/i2c/busses/i2c-pnx.c:301: warning: Function parameter or member 'alg_data' not described in 'i2c_pnx_master_rcv' drivers/i2c/busses/i2c-pnx.c:301: warning: Excess function parameter 'adap' description in 'i2c_pnx_master_rcv' Cc: Vladimir Zapolskiy <vz@mleia.com> Cc: Dennis Kovalev <dkovalev@ru.mvista.com> Cc: Vitaly Wool <vwool@ru.mvista.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/i2c/busses/i2c-pnx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 8c4ec7f13f5ab..50f21cdbe90d3 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -138,7 +138,7 @@ static inline void i2c_pnx_arm_timer(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_start - start a device * @slave_addr: slave address - * @adap: pointer to adapter structure + * @alg_data: pointer to local driver data structure * * Generate a START signal in the desired mode. */ @@ -194,7 +194,7 @@ static int i2c_pnx_start(unsigned char slave_addr, /** * i2c_pnx_stop - stop a device - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Generate a STOP signal to terminate the master transaction. */ @@ -223,7 +223,7 @@ static void i2c_pnx_stop(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_xmit - transmit data to slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Sends one byte of data to the slave */ @@ -293,7 +293,7 @@ static int i2c_pnx_master_xmit(struct i2c_pnx_algo_data *alg_data) /** * i2c_pnx_master_rcv - receive data from slave - * @adap: pointer to I2C adapter structure + * @alg_data: pointer to local driver data structure * * Reads one byte data from the slave */ -- 2.31.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-05-20 19:01 UTC|newest] Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-20 19:00 [PATCH 00/16] Rid W=1 warnings from I2C Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-05-20 19:00 ` [PATCH 01/16] i2c: busses: i2c-nomadik: Fix formatting issue pertaining to 'timeout' Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-05-27 0:21 ` Linus Walleij 2021-05-27 0:21 ` Linus Walleij 2021-05-27 19:28 ` Wolfram Sang 2021-05-27 19:28 ` Wolfram Sang 2021-05-28 7:58 ` Lee Jones 2021-05-28 7:58 ` Lee Jones 2021-05-28 8:00 ` Wolfram Sang 2021-05-28 8:00 ` Wolfram Sang 2021-05-28 8:17 ` Lee Jones 2021-05-28 8:17 ` Lee Jones 2021-05-20 19:00 ` [PATCH 02/16] i2c: muxes: i2c-arb-gpio-challenge: Demote non-conformant kernel-doc headers Lee Jones 2021-05-20 19:33 ` Doug Anderson 2021-05-21 6:32 ` Peter Rosin 2021-05-27 19:30 ` Wolfram Sang 2021-05-20 19:00 ` [PATCH 03/16] i2c: busses: i2c-ali1563: File headers are not good candidates for kernel-doc Lee Jones 2021-05-21 10:06 ` Jean Delvare 2021-05-27 19:30 ` Wolfram Sang 2021-05-20 19:00 ` [PATCH 04/16] i2c: busses: i2c-altera: Fix formatting issue in struct and demote unworthy kernel-doc headers Lee Jones 2021-06-03 20:25 ` Wolfram Sang 2021-05-20 19:00 ` [PATCH 05/16] i2c: busses: i2c-axxia: " Lee Jones 2021-06-03 20:27 ` Wolfram Sang 2021-06-04 8:49 ` Lee Jones 2021-05-20 19:00 ` [PATCH 06/16] i2c: busses: i2c-cadence: Fix incorrectly documented 'enum cdns_i2c_slave_mode' Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-05-24 6:49 ` Michal Simek 2021-05-24 6:49 ` Michal Simek 2021-05-20 19:00 ` [PATCH 07/16] i2c: busses: i2c-designware-master: Fix misnaming of 'i2c_dw_init_master()' Lee Jones 2021-05-21 7:03 ` Jarkko Nikula 2021-05-20 19:00 ` [PATCH 08/16] i2c: busses: i2c-eg20t: Fix 'bad line' issue and provide description for 'msgs' param Lee Jones 2021-05-27 19:33 ` Wolfram Sang 2021-05-20 19:00 ` [PATCH 09/16] i2c: busses: i2c-mxs: Demote barely half complete kernel-doc header Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-06-03 20:29 ` Wolfram Sang 2021-06-03 20:29 ` Wolfram Sang 2021-06-04 8:47 ` Lee Jones 2021-06-04 8:47 ` Lee Jones 2021-06-04 9:06 ` Wolfram Sang 2021-06-04 9:06 ` Wolfram Sang 2021-06-04 9:32 ` Lee Jones 2021-06-04 9:32 ` Lee Jones 2021-05-20 19:00 ` [PATCH 10/16] i2c: busses: i2c-ocores: Place the expected function names into the documentation headers Lee Jones 2021-05-20 19:00 ` Lee Jones 2021-05-20 19:12 ` Andrew Lunn 2021-05-20 19:12 ` Andrew Lunn 2021-05-20 20:21 ` Peter Korsgaard 2021-05-20 20:21 ` Peter Korsgaard 2021-05-27 19:33 ` Wolfram Sang 2021-05-27 19:33 ` Wolfram Sang 2021-05-20 19:01 ` Lee Jones [this message] 2021-05-20 19:01 ` [PATCH 11/16] i2c: busses: i2c-pnx: Provide descriptions for 'alg_data' data structure Lee Jones 2021-05-21 6:24 ` Vladimir Zapolskiy 2021-05-21 6:24 ` Vladimir Zapolskiy 2021-05-20 19:01 ` [PATCH 12/16] i2c: busses: i2c-rk3x: Demote unworthy headers and help more complete ones Lee Jones 2021-05-20 19:01 ` Lee Jones 2021-05-20 19:01 ` Lee Jones 2021-05-20 21:52 ` Heiko Stübner 2021-05-20 21:52 ` Heiko Stübner 2021-05-20 21:52 ` Heiko Stübner 2021-05-21 6:56 ` Lee Jones 2021-05-21 6:56 ` Lee Jones 2021-05-21 6:56 ` Lee Jones 2021-06-19 22:07 ` Heiko Stuebner 2021-06-19 22:07 ` Heiko Stuebner 2021-06-19 22:07 ` Heiko Stuebner 2021-05-20 19:01 ` [PATCH 13/16] i2c: busses: i2c-st: Fix copy/paste function misnaming issues Lee Jones 2021-05-20 19:01 ` Lee Jones 2021-05-21 14:17 ` Alain Volmat 2021-05-21 14:17 ` Alain Volmat 2021-05-21 14:23 ` Alain Volmat 2021-05-21 14:23 ` Alain Volmat 2021-05-27 19:35 ` Wolfram Sang 2021-05-27 19:35 ` Wolfram Sang 2021-05-20 19:01 ` [PATCH 14/16] i2c: busses: i2c-stm32f4: Remove incorrectly placed ' ' from function name Lee Jones 2021-05-20 19:01 ` Lee Jones 2021-05-21 14:20 ` Alain Volmat 2021-05-21 14:20 ` Alain Volmat 2021-05-27 19:35 ` Wolfram Sang 2021-05-27 19:35 ` Wolfram Sang 2021-05-20 19:01 ` [PATCH 15/16] i2c: busses: i2c-tegra-bpmp: Demote kernel-doc abuses Lee Jones 2021-06-01 15:04 ` Thierry Reding 2021-05-20 19:01 ` [PATCH 16/16] i2c: busses: i2c-st: trivial: Fix spelling issue 'enmpty => empty' Lee Jones 2021-05-20 19:01 ` Lee Jones 2021-05-21 14:23 ` Alain Volmat 2021-05-21 14:23 ` Alain Volmat 2021-05-27 19:38 ` Wolfram Sang 2021-05-27 19:38 ` Wolfram Sang
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210520190105.3772683-12-lee.jones@linaro.org \ --to=lee.jones@linaro.org \ --cc=dkovalev@ru.mvista.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-i2c@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=vwool@ru.mvista.com \ --cc=vz@mleia.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.