Skip to contentSkip to conversation

sysctl: correct comment in xen_sysctl_pcitopoinfo

PATCH In review Olaf Hering 2 participants 2 messages Feb 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sysctl: correct comment in xen_sysctl_pcitopoinfo

Refer to correct member of struct xen_sysctl_pcitopoinfo in comment.

Fixes commit 61319fbfd9 ("sysctl: add sysctl interface for querying PCI topology")
---
 xen/include/public/sysctl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/public/sysctl.h +1 -1
index ef10368d79..f6aafd4754 100644
@@ -678,7 +678,7 @@ struct xen_sysctl_psr_cmt_op {
 #define XEN_INVALID_DEV (XEN_INVALID_NODE_ID - 1)
 struct xen_sysctl_pcitopoinfo {
     /*
-     * IN: Number of elements in 'pcitopo' and 'nodes' arrays.
+     * IN: Number of elements in 'devs' and 'nodes' arrays.
      * OUT: Number of processed elements of those arrays.
      */
     uint32_t num_devs;

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Olaf Hering

Refer to correct member of struct xen_sysctl_pcitopoinfo in comment.

Fixes commit 61319fbfd9 ("sysctl: add sysctl interface for querying PCI topology")
Quoted 18 lines
---
 xen/include/public/sysctl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/public/sysctl.h +1 -1
index ef10368d79..f6aafd4754 100644
@@ -678,7 +678,7 @@ struct xen_sysctl_psr_cmt_op {
 #define XEN_INVALID_DEV (XEN_INVALID_NODE_ID - 1)
 struct xen_sysctl_pcitopoinfo {
     /*
-     * IN: Number of elements in 'pcitopo' and 'nodes' arrays.
+     * IN: Number of elements in 'devs' and 'nodes' arrays.
      * OUT: Number of processed elements of those arrays.
      */
     uint32_t num_devs;
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel