diff options
author | Jayachandran C. <jchandra@FreeBSD.org> | 2015-02-28 00:22:10 +0000 |
---|---|---|
committer | Jayachandran C. <jchandra@FreeBSD.org> | 2015-02-28 00:22:10 +0000 |
commit | c483877531068b3bf30bdc02a103c1fa2b57a215 (patch) | |
tree | 847f5ee4efc10a00eae6562ee116aeca248d87c4 /sys/mips/nlm/dev/sec/nlmsec.c | |
parent | 72e64728c94dc9510d85af9da84ae3b8c6f665fc (diff) | |
download | src-c483877531068b3bf30bdc02a103c1fa2b57a215.tar.gz src-c483877531068b3bf30bdc02a103c1fa2b57a215.zip |
Whitespace fixes for sys/mips/nlm/dev
Clean up whitespace issues under sys/mips/nlm/dev. No functional
change in this commit.
Notes
Notes:
svn path=/head/; revision=279388
Diffstat (limited to 'sys/mips/nlm/dev/sec/nlmsec.c')
-rw-r--r-- | sys/mips/nlm/dev/sec/nlmsec.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/mips/nlm/dev/sec/nlmsec.c b/sys/mips/nlm/dev/sec/nlmsec.c index 4c956617a483..78fc9615ae7a 100644 --- a/sys/mips/nlm/dev/sec/nlmsec.c +++ b/sys/mips/nlm/dev/sec/nlmsec.c @@ -12,7 +12,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * + * * THIS SOFTWARE IS PROVIDED BY BROADCOM ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -114,12 +114,12 @@ DRIVER_MODULE(nlmsec, pci, xlp_sec_driver, xlp_sec_devclass, 0, 0); MODULE_DEPEND(nlmsec, crypto, 1, 1, 1); void -nlm_xlpsec_msgring_handler(int vc, int size, int code, int src_id, +nlm_xlpsec_msgring_handler(int vc, int size, int code, int src_id, struct nlm_fmn_msg *msg, void *data); #ifdef NLM_SEC_DEBUG -#define extract_bits(x, bitshift, bitcnt) \ +#define extract_bits(x, bitshift, bitcnt) \ (((unsigned long long)x >> bitshift) & ((1ULL << bitcnt) - 1)) void @@ -197,7 +197,7 @@ print_crypto_params(struct xlp_sec_command *cmd, struct nlm_fmn_msg m) return; } -void +void xlp_sec_print_data(struct cryptop *crp) { int i, key_len; @@ -265,7 +265,7 @@ print_cmd(struct xlp_sec_command *cmd) } #endif /* NLM_SEC_DEBUG */ -static int +static int xlp_sec_init(struct xlp_sec_softc *sc) { @@ -675,7 +675,7 @@ error: return (err); } -static void +static void xlp_free_cmd_params(struct xlp_sec_command *cmd) { if (cmd->ctrlp != NULL) @@ -754,7 +754,7 @@ xlp_sec_process(device_t dev, struct cryptop *crp, int hint) } if (crd1->crd_flags & CRD_F_IV_EXPLICIT) cmd->cipheroff = cmd->ivlen; - else + else cmd->cipheroff = cmd->enccrd->crd_skip; cmd->cipherlen = cmd->enccrd->crd_len; if (crd1->crd_flags & CRD_F_IV_PRESENT) |