This advice is too detailed for 'null-ptr-deref' is known as a general phrase like 'use-after-free' for kernel developer, I think.>A null-ptr-deref bug is reported by Hulk Robot like this:
Can it be clearer to use the term “null pointer dereference” for the final commit message?
It's an acceptable advice, thanks.
--------------
I suggest to choose an other character for drawing such a text line.
Sorry, I didn't get your words.
Fix it by making …
Would you like to replace this wording by the tag “Fixes”?
In fact, The reason I use 'err_sock' rather than 'unregister_sock' is to keep same in 'net/qrtr/ns.c'.
Will an other imperative wording variant be helpful for this change description?
…
+++ b/net/qrtr/qrtr.c…
@@ -1287,13 +1287,19 @@ static int __init qrtr_proto_init(void)
+err_sock:
+ sock_unregister(qrtr_family.family);
+err_proto:
+ proto_unregister(&qrtr_proto);
return rc;
}
Would it be clearer to use the labels “unregister_sock” and “unregister_proto”?
Regards,
Markus
.