core: Variable type completion
Subsystems (2)
PATCH 1/1 core: Variable type completion
'unsigned int' is better than 'unsigned'.
Signed-off-by Xin Gao <[email protected]>
--- net/core/netclassid_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/netclassid_cgroup.c +1 -1
@@ -66,7 +66,7 @@ struct update_classid_context {#define UPDATE_CLASSID_BATCH 1000 -static int update_classid_sock (const void *v,struct file *file,unsigned n) +static int update_classid_sock (const void *v,struct file *file,unsigned int n) {struct update_classid_context *ctx = (void *)v;struct socket *sock =sock_from_file (file);
Signature · 1 line
2.30.2
Jakub Kicinski
maintainerQuoted 1 line · On Wed, 17 Aug 2022 09:35:29 +0800 Xin Gao wrote:
'unsigned int' is better than 'unsigned'.
Please resend with the following subject:
[PATCH net-next] net: cgroup: complete unsigned type name
Quoted 6 lines · Jakub Kicinski
Quoted 1 line · On Wed, 17 Aug 2022 09:35:29 +0800 Xin Gao wrote:
'unsigned int' is better than 'unsigned'.
Please resend with the following subject:
[PATCH net-next] net: cgroup: complete unsigned type name
Out of curiosity, why is 'unsigned int' better than 'unsigned'?
Thanks.
Signature · 1 line
tejun
Jakub Kicinski
maintainerQuoted 9 lines · On Fri, 19 Aug 2022 14:07:26 -1000 Tejun Heo wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 1 line · On Wed, 17 Aug 2022 09:35:29 +0800 Xin Gao wrote:
'unsigned int' is better than 'unsigned'.
Please resend with the following subject:
[PATCH net-next] net: cgroup: complete unsigned type name
Out of curiosity, why is 'unsigned int' better than 'unsigned'?
Good question, a citation in the commit message would also be good.