linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning
@ 2021-01-11 15:49 Muhammad Husaini Zulkifli
  2021-01-11 15:50 ` [PATCH v1 1/2] " Muhammad Husaini Zulkifli
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Muhammad Husaini Zulkifli @ 2021-01-11 15:49 UTC (permalink / raw)
  To: ulf.hansson, michal.simek, linux-mmc, linux-arm-kernel, linux-kernel
  Cc: adrian.hunter, andriy.shevchenko, muhammad.husaini.zulkifli

Hi,

This patch series are to fix the kernel-doc format warning when using kernel-doc
script tool and to change code style of mapping the syscon field for readability
and consistency.

Kindly help to review this patch set.

Thanks.

Muhammad Husaini Zulkifli (2):
  mmc: sdhci-of-arasan: Fixed kernel-doc format warning
  mmc: sdhci-of-arasan: Change code style of mapping the syscon field

 drivers/mmc/host/sdhci-of-arasan.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

--
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 1/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning
  2021-01-11 15:49 [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Muhammad Husaini Zulkifli
@ 2021-01-11 15:50 ` Muhammad Husaini Zulkifli
  2021-01-11 15:50 ` [PATCH v1 2/2] mmc: sdhci-of-arasan: Change code style of mapping the syscon field Muhammad Husaini Zulkifli
  2021-01-13 11:25 ` [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Ulf Hansson
  2 siblings, 0 replies; 5+ messages in thread
From: Muhammad Husaini Zulkifli @ 2021-01-11 15:50 UTC (permalink / raw)
  To: ulf.hansson, michal.simek, linux-mmc, linux-arm-kernel, linux-kernel
  Cc: adrian.hunter, andriy.shevchenko, muhammad.husaini.zulkifli

Commit 36c6aadaae86 ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay")
introduces syscon map sdhci_arasan_update_support64b(). Unfortunately,
kernel-doc format script tool has not been run before and causing warning
on the documentation style.

Below is the output when running the kernel-doc script tool:
drivers/mmc/host/sdhci-of-arasan.c:1388: warning: contents before sections

Let's fix this by using standard conventions kernel-doc format.

Fixes: 36c6aadaae86 ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay")
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-of-arasan.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index 4f3774bcda94..643313687b5e 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -1380,17 +1380,16 @@ static void sdhci_arasan_unregister_sdclk(struct device *dev)

 /**
  * sdhci_arasan_update_support64b - Set SUPPORT_64B (64-bit System Bus Support)
+ * @host:		The sdhci_host
+ * @value:		The value to write
  *
  * This should be set based on the System Address Bus.
  * 0: the Core supports only 32-bit System Address Bus.
  * 1: the Core supports 64-bit System Address Bus.
  *
- * NOTES:
- * - For Keem Bay, it is required to clear this bit. Its default value is 1'b1.
- *   Keem Bay does not support 64-bit access.
- *
- * @host:		The sdhci_host
- * @value:		The value to write
+ * NOTE:
+ * For Keem Bay, it is required to clear this bit. Its default value is 1'b1.
+ * Keem Bay does not support 64-bit access.
  */
 static void sdhci_arasan_update_support64b(struct sdhci_host *host, u32 value)
 {
--
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v1 2/2] mmc: sdhci-of-arasan: Change code style of mapping the syscon field
  2021-01-11 15:49 [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Muhammad Husaini Zulkifli
  2021-01-11 15:50 ` [PATCH v1 1/2] " Muhammad Husaini Zulkifli
@ 2021-01-11 15:50 ` Muhammad Husaini Zulkifli
  2021-01-13 11:25 ` [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Ulf Hansson
  2 siblings, 0 replies; 5+ messages in thread
From: Muhammad Husaini Zulkifli @ 2021-01-11 15:50 UTC (permalink / raw)
  To: ulf.hansson, michal.simek, linux-mmc, linux-arm-kernel, linux-kernel
  Cc: adrian.hunter, andriy.shevchenko, muhammad.husaini.zulkifli

Change code style of mapping the syscon in sdhci_arasan_update_support64b()
for readability and consistency.

Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-of-arasan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index 643313687b5e..8a406b62c6ad 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -1395,10 +1395,10 @@ static void sdhci_arasan_update_support64b(struct sdhci_host *host, u32 value)
 {
 	struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
 	struct sdhci_arasan_data *sdhci_arasan = sdhci_pltfm_priv(pltfm_host);
-	const struct sdhci_arasan_soc_ctl_map *soc_ctl_map =
-		sdhci_arasan->soc_ctl_map;
+	const struct sdhci_arasan_soc_ctl_map *soc_ctl_map;
 
 	/* Having a map is optional */
+	soc_ctl_map = sdhci_arasan->soc_ctl_map;
 	if (!soc_ctl_map)
 		return;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning
  2021-01-11 15:49 [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Muhammad Husaini Zulkifli
  2021-01-11 15:50 ` [PATCH v1 1/2] " Muhammad Husaini Zulkifli
  2021-01-11 15:50 ` [PATCH v1 2/2] mmc: sdhci-of-arasan: Change code style of mapping the syscon field Muhammad Husaini Zulkifli
@ 2021-01-13 11:25 ` Ulf Hansson
  2021-01-13 13:52   ` Zulkifli, Muhammad Husaini
  2 siblings, 1 reply; 5+ messages in thread
From: Ulf Hansson @ 2021-01-13 11:25 UTC (permalink / raw)
  To: Muhammad Husaini Zulkifli
  Cc: Michal Simek, linux-mmc, Linux ARM, Linux Kernel Mailing List,
	Adrian Hunter, Shevchenko, Andriy

On Mon, 11 Jan 2021 at 16:51, Muhammad Husaini Zulkifli
<muhammad.husaini.zulkifli@intel.com> wrote:
>
> Hi,
>
> This patch series are to fix the kernel-doc format warning when using kernel-doc
> script tool and to change code style of mapping the syscon field for readability
> and consistency.
>
> Kindly help to review this patch set.
>
> Thanks.
>
> Muhammad Husaini Zulkifli (2):
>   mmc: sdhci-of-arasan: Fixed kernel-doc format warning
>   mmc: sdhci-of-arasan: Change code style of mapping the syscon field
>
>  drivers/mmc/host/sdhci-of-arasan.c | 15 +++++++--------
>  1 file changed, 7 insertions(+), 8 deletions(-)
>
> --
> 2.17.1
>

Applied for next, thanks!

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning
  2021-01-13 11:25 ` [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Ulf Hansson
@ 2021-01-13 13:52   ` Zulkifli, Muhammad Husaini
  0 siblings, 0 replies; 5+ messages in thread
From: Zulkifli, Muhammad Husaini @ 2021-01-13 13:52 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Michal Simek, linux-mmc, Linux ARM, Linux Kernel Mailing List,
	Hunter, Adrian, Shevchenko, Andriy

Hi Ulf,

Thanks. 

>-----Original Message-----
>From: Ulf Hansson <ulf.hansson@linaro.org>
>Sent: Wednesday, January 13, 2021 7:26 PM
>To: Zulkifli, Muhammad Husaini <muhammad.husaini.zulkifli@intel.com>
>Cc: Michal Simek <michal.simek@xilinx.com>; linux-mmc@vger.kernel.org;
>Linux ARM <linux-arm-kernel@lists.infradead.org>; Linux Kernel Mailing List
><linux-kernel@vger.kernel.org>; Hunter, Adrian <adrian.hunter@intel.com>;
>Shevchenko, Andriy <andriy.shevchenko@intel.com>
>Subject: Re: [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format
>warning
>
>On Mon, 11 Jan 2021 at 16:51, Muhammad Husaini Zulkifli
><muhammad.husaini.zulkifli@intel.com> wrote:
>>
>> Hi,
>>
>> This patch series are to fix the kernel-doc format warning when using
>> kernel-doc script tool and to change code style of mapping the syscon
>> field for readability and consistency.
>>
>> Kindly help to review this patch set.
>>
>> Thanks.
>>
>> Muhammad Husaini Zulkifli (2):
>>   mmc: sdhci-of-arasan: Fixed kernel-doc format warning
>>   mmc: sdhci-of-arasan: Change code style of mapping the syscon field
>>
>>  drivers/mmc/host/sdhci-of-arasan.c | 15 +++++++--------
>>  1 file changed, 7 insertions(+), 8 deletions(-)
>>
>> --
>> 2.17.1
>>
>
>Applied for next, thanks!
>
>Kind regards
>Uffe

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-13 13:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 15:49 [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Muhammad Husaini Zulkifli
2021-01-11 15:50 ` [PATCH v1 1/2] " Muhammad Husaini Zulkifli
2021-01-11 15:50 ` [PATCH v1 2/2] mmc: sdhci-of-arasan: Change code style of mapping the syscon field Muhammad Husaini Zulkifli
2021-01-13 11:25 ` [PATCH v1 0/2] mmc: sdhci-of-arasan: Fixed kernel-doc format warning Ulf Hansson
2021-01-13 13:52   ` Zulkifli, Muhammad Husaini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).