Message ID | 20241025064031.994215-1-dongtai.guo@linux.dev (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/1] add comment for doi_remove in struct netlbl_lsm_secattr | expand |
On Fri, Oct 25, 2024 at 02:40:31PM +0800, George Guo wrote: > From: George Guo <guodongtai@kylinos.cn> 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 ...
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 48106f910139..7091c8552fa1 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h @@ -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
From: George Guo <guodongtai@kylinos.cn> --- include/net/netlabel.h | 1 + 1 file changed, 1 insertion(+)