Skip to contentSkip to conversation

netlabel: Add missing comment to struct field

PATCH In review George Guo 4 participants 9 messages Sep 23, 2024 – Oct 25, 2024

Subsystems (4)
lore
Share & tools
lore

George Guo

author
#0 lore raw

PATCH 1/1 netlabel: Add missing comment to struct field

From: George Guo <[email protected]>

add a comment to doi_remove in struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)
include/net/netlabel.h +1 -0
index 529160f76cac..4afd934b1238 100644
@@ -208,6 +208,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
Signature · 1 line
2.34.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · George Guo

From: George Guo <[email protected]>

add a comment to doi_remove in struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)

Looks good to me.

Quoted 14 lines
include/net/netlabel.h +1 -1
index 529160f76cac..4afd934b1238 100644
@@ -208,6 +208,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
--

2.34.1

Signature · 1 line
paul-moore.com
maintainer
#2 lore raw
In reply to George Guo
Quoted 7 lines · George Guo

From: George Guo <[email protected]>

add a comment to doi_remove in struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

## Form letter - net-next-closed

The merge window for v6.12 and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only.

Please repost when net-next reopens after Sept 30th.

RFC patches sent for review only are obviously welcome at any time.

See:
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle

Signature · 1 line
pw-bot: defer
author
#3 lore raw

PATCH 1/1 add comment for doi_remove in struct netlbl_lsm_secattr

From: George Guo <[email protected]>

---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)
include/net/netlabel.h +1 -0
index 48106f910139..7091c8552fa1 100644
@@ -209,6 +209,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
Signature · 1 line
2.34.1
reviewer
#4 lore raw

Re: [PATCH 1/1] add comment for doi_remove in struct netlbl_lsm_secattr

Quoted 1 line · George Guo

From: George Guo <[email protected]>

Hi George,

Thanks for your patch. I agree that is is correct and a good change to make. But there are some process issues to be addressed before this patch can be accepted.

Firstly, as this is presumably a non-bug fix for networking code, it should be targeted at the net-next tree. That it should be based on that tree (it seems to be) and explicitly targeted at that tree in the Subject.

Subject: [PATCH net-next v2] ...

Secondly, the subject should include a prefix.
Looking at git log include/net/netlabel.h it
seems that should be 'netlabel:'

Subject: [PATCH net-next v2] netlabel: ...

And it might be best to make the subject a bit more descriptive.

Subject: [PATCH net-next v2] netlabel: document doi_remove field of struct netlbl_calipso_ops

Next, a commit message is required. It should explain why the change is being made. And, ideally how you found this problem. It should also include a Signed-off-by line [1]. e.g.

Add documentation of do_remove field to Kernel doc for struct netlbl_calipso_ops.

Found using W=1 build.

Signed-off-by ...

[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin

Lastly, please do wait 24h before posting a new version.
Please include information about what has changed below the scissors ('---'). And please send the new patch as a new thread.

More information on development processes for Networking can be found here:
https://docs.kernel.org/process/maintainer-netdev.html

...

Signature · 1 line
pw-bot: changes-requested
author
#5 lore raw

PATCH 1/1 add comment for doi_remove in struct netlbl_lsm_secattr

In reply to Paolo Abeni

From: George Guo <[email protected]>

---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)
include/net/netlabel.h +1 -0
index 48106f910139..7091c8552fa1 100644
@@ -209,6 +209,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
Signature · 1 line
2.34.1
author
#7 lore raw

PATCH 1/1 netlabel: Add missing comment to struct field

In reply to Paolo Abeni

From: George Guo <[email protected]>

add a comment to doi_remove in struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)
include/net/netlabel.h +1 -0
index 529160f76cac..4afd934b1238 100644
@@ -208,6 +208,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
Signature · 1 line
2.34.1
reviewer
#8 lore raw
Quoted 7 lines · George Guo

From: George Guo <[email protected]>

add a comment to doi_remove in struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

This revision is looking much nicer than the previous 2. But I think it would be best to mention that you are adding a Kernel doc entry, as per my comment on an earlier version:

https://lore.kernel.org/netdev/[email protected]/T/#mc951365b9ba02e3538efa0f0eb6a215199efc73b

...

Signature · 1 line
pw-bot: changes-requested