mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: fix checkpatch errors with space required or prohibited
fix checkpatch errors while the space is required or prohibited to the "=,()++..." Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4c99aa409a
commit
cb3f837ba9
10 changed files with 43 additions and 43 deletions
|
@ -41,7 +41,7 @@ static struct sctp_hmac sctp_hmac_list[SCTP_AUTH_NUM_HMACS] = {
|
|||
},
|
||||
{
|
||||
.hmac_id = SCTP_AUTH_HMAC_ID_SHA1,
|
||||
.hmac_name="hmac(sha1)",
|
||||
.hmac_name = "hmac(sha1)",
|
||||
.hmac_len = SCTP_SHA1_SIG_SIZE,
|
||||
},
|
||||
{
|
||||
|
@ -51,7 +51,7 @@ static struct sctp_hmac sctp_hmac_list[SCTP_AUTH_NUM_HMACS] = {
|
|||
#if defined (CONFIG_CRYPTO_SHA256) || defined (CONFIG_CRYPTO_SHA256_MODULE)
|
||||
{
|
||||
.hmac_id = SCTP_AUTH_HMAC_ID_SHA256,
|
||||
.hmac_name="hmac(sha256)",
|
||||
.hmac_name = "hmac(sha256)",
|
||||
.hmac_len = SCTP_SHA256_SIG_SIZE,
|
||||
}
|
||||
#endif
|
||||
|
@ -163,7 +163,7 @@ static int sctp_auth_compare_vectors(struct sctp_auth_bytes *vector1,
|
|||
* lead-zero padded. If it is not, it
|
||||
* is automatically larger numerically.
|
||||
*/
|
||||
for (i = 0; i < abs(diff); i++ ) {
|
||||
for (i = 0; i < abs(diff); i++) {
|
||||
if (longer[i] != 0)
|
||||
return diff;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue