Skip to content

Commit

Permalink
cifsd: spaces preferred around that '/'
Browse files Browse the repository at this point in the history
Fix "CHECK: paces preferred around that '/' from checkpatch.pl --strict.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
namjaejeon committed May 26, 2021
1 parent a2d6321 commit c8ed115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifsd/asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static bool asn1_oid_decode(const unsigned char *value, size_t vlen,
unsigned long subid;

vlen += 1;
if (vlen < 2 || vlen > UINT_MAX/sizeof(unsigned long))
if (vlen < 2 || vlen > UINT_MAX / sizeof(unsigned long))
return false;

*oid = kmalloc(vlen * sizeof(unsigned long), GFP_KERNEL);
Expand Down

0 comments on commit c8ed115

Please sign in to comment.