All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cxl/mbox: Add missing parameter to docs.
@ 2023-01-30 15:34 Jonathan Cameron
  2023-01-30 16:31 ` Dave Jiang
  2023-01-30 19:23 ` Dan Williams
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Cameron @ 2023-01-30 15:34 UTC (permalink / raw)
  To: linux-cxl
  Cc: Alison Schofield, Vishal Verma, Ira Weiny, Dan Williams, linuxarm

Kernel-doc should be complete, so add documentation for the status
parameter.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

---
Fixes  ("cxl/mem: Read, trace, and clear events on driver load")

Bad fixes tag is deliberate as patch is currently only in the cxl/pending
branch. Feel free to squash this or drop the fixes entirely.

I'm odd and for various reasons run W=1 builds. The resulting
warning has been irritating me, hence the fixlet.
---
 drivers/cxl/core/mbox.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cxl/core/mbox.c b/drivers/cxl/core/mbox.c
index a0bd2170af48..03909b6cef55 100644
--- a/drivers/cxl/core/mbox.c
+++ b/drivers/cxl/core/mbox.c
@@ -913,6 +913,7 @@ static void cxl_mem_get_records_log(struct cxl_dev_state *cxlds,
 /**
  * cxl_mem_get_event_records - Get Event Records from the device
  * @cxlds: The device data for the operation
+ * @status: Event Status register value identifying which events are available.
  *
  * Retrieve all event records available on the device, report them as trace
  * events, and clear them.
-- 
2.37.2


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

* Re: [PATCH] cxl/mbox: Add missing parameter to docs.
  2023-01-30 15:34 [PATCH] cxl/mbox: Add missing parameter to docs Jonathan Cameron
@ 2023-01-30 16:31 ` Dave Jiang
  2023-01-30 19:23 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Jiang @ 2023-01-30 16:31 UTC (permalink / raw)
  To: Jonathan Cameron, linux-cxl
  Cc: Alison Schofield, Vishal Verma, Ira Weiny, Dan Williams, linuxarm



On 1/30/23 8:34 AM, Jonathan Cameron wrote:
> Kernel-doc should be complete, so add documentation for the status
> parameter.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>

> 
> ---
> Fixes  ("cxl/mem: Read, trace, and clear events on driver load")
> 
> Bad fixes tag is deliberate as patch is currently only in the cxl/pending
> branch. Feel free to squash this or drop the fixes entirely.
> 
> I'm odd and for various reasons run W=1 builds. The resulting
> warning has been irritating me, hence the fixlet.
> ---
>   drivers/cxl/core/mbox.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cxl/core/mbox.c b/drivers/cxl/core/mbox.c
> index a0bd2170af48..03909b6cef55 100644
> --- a/drivers/cxl/core/mbox.c
> +++ b/drivers/cxl/core/mbox.c
> @@ -913,6 +913,7 @@ static void cxl_mem_get_records_log(struct cxl_dev_state *cxlds,
>   /**
>    * cxl_mem_get_event_records - Get Event Records from the device
>    * @cxlds: The device data for the operation
> + * @status: Event Status register value identifying which events are available.
>    *
>    * Retrieve all event records available on the device, report them as trace
>    * events, and clear them.

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

* RE: [PATCH] cxl/mbox: Add missing parameter to docs.
  2023-01-30 15:34 [PATCH] cxl/mbox: Add missing parameter to docs Jonathan Cameron
  2023-01-30 16:31 ` Dave Jiang
@ 2023-01-30 19:23 ` Dan Williams
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Williams @ 2023-01-30 19:23 UTC (permalink / raw)
  To: Jonathan Cameron, linux-cxl
  Cc: Alison Schofield, Vishal Verma, Ira Weiny, Dan Williams, linuxarm

Jonathan Cameron wrote:
> Kernel-doc should be complete, so add documentation for the status
> parameter.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> 
> ---
> Fixes  ("cxl/mem: Read, trace, and clear events on driver load")
> 
> Bad fixes tag is deliberate as patch is currently only in the cxl/pending
> branch. Feel free to squash this or drop the fixes entirely.
> 
> I'm odd and for various reasons run W=1 builds. The resulting
> warning has been irritating me, hence the fixlet.

I appreciate it, looks good.

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

end of thread, other threads:[~2023-01-30 19:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 15:34 [PATCH] cxl/mbox: Add missing parameter to docs Jonathan Cameron
2023-01-30 16:31 ` Dave Jiang
2023-01-30 19:23 ` Dan Williams

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.