staging: ccree: removed spaces after opening parentheses.

Removed spaces after opening parentheses in ssi_ivgen.c.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jeremy Sowden 2017-06-18 17:58:02 +01:00 committed by Greg Kroah-Hartman
parent 4f71fecd78
commit d4f3d4b150
1 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ static int ssi_ivgen_generate_pool(
{
unsigned int idx = *iv_seq_len;
if ( (*iv_seq_len + SSI_IVPOOL_GEN_SEQ_LEN) > SSI_IVPOOL_SEQ_LEN) {
if ((*iv_seq_len + SSI_IVPOOL_GEN_SEQ_LEN) > SSI_IVPOOL_SEQ_LEN) {
/* The sequence will be longer than allowed */
return -EINVAL;
}
@ -251,13 +251,13 @@ int ssi_ivgen_getiv(
(iv_out_size != CTR_RFC3686_IV_SIZE)) {
return -EINVAL;
}
if ( (iv_out_dma_len + 1) > SSI_IVPOOL_SEQ_LEN) {
if ((iv_out_dma_len + 1) > SSI_IVPOOL_SEQ_LEN) {
/* The sequence will be longer than allowed */
return -EINVAL;
}
//check that number of generated IV is limited to max dma address iv buffer size
if ( iv_out_dma_len > SSI_MAX_IVGEN_DMA_ADDRESSES) {
if (iv_out_dma_len > SSI_MAX_IVGEN_DMA_ADDRESSES) {
/* The sequence will be longer than allowed */
return -EINVAL;
}