[PATCH v3] staging: gasket: core: Fix a coding style issue in gasket_core.c

2020-07-15 Thread Zhixu Zhao
A coding alignment issue is found by checkpatch.pl. Fix it by using a temporary for gasket_dev->bar_data[bar_num]. Signed-off-by: Zhixu Zhao --- Changes in v2: - gasket_dev->bar_data[bar_num] was used everywhere. Now replace it with a `struct gasket_bar_data *data`, making the cod

Re: [PATCH v2] staging: gasket: core: Fix a coding style issue in gasket_core.c

2020-07-14 Thread Zhixu Zhao
On Thu, Jun 18, 2020 at 12:11:27AM +0800, Zhixu Zhao wrote: > A coding alignment issue is found by checkpatch.pl. > Fix it by using a temporary for gasket_dev->bar_data[bar_num]. > > Signed-off-by: Zhixu Zhao Hi, there~ Does anybody have any further comments on this? Can it be

Re: [PATCH v2] staging: gasket: core: Fix a coding style issue in gasket_core.c

2020-06-18 Thread Zhixu Zhao
ar_num]` are not the same thing as I see it. Besides, `struct gasket_bar_data` doesn't have a `size` field (it does have a `length_bytes` field). So... did I miss anything? -- Zhixu Zhao https://github.com/zhaozhixu ___ devel mailing list de...@linuxdriverproject

[PATCH v2] staging: gasket: core: Fix a coding style issue in gasket_core.c

2020-06-17 Thread Zhixu Zhao
A coding alignment issue is found by checkpatch.pl. Fix it by using a temporary for gasket_dev->bar_data[bar_num]. Signed-off-by: Zhixu Zhao --- Please ignore the last email (if you received it) because I forgot to Cc the mailing list. Sorry for the noise... Changes in v2: - gasket_

[PATCH] staging: gasket: core: Fix a coding style issue in gasket_core.c

2020-06-14 Thread Zhixu Zhao
Fix a coding alignment issue found by checkpatch.pl. Signed-off-by: Zhixu Zhao --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c index 67325fbaf760