staging: gdm72xx: Add space around '-'
authorBurcin Akalin <brcnakalin@gmail.com>
Sat, 31 Oct 2015 22:56:49 +0000 (01:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
Add space around operator '-'. Problem found using
checkpatch.pl
CHECK: spaces preferred around that '-' (ctx:VxV)

Signed-off-by: Burcin Akalin <brcnakalin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_qos.c

index 220fcd298e05efde6d760ce8dc125bba2e28ba2d..27f6054cbbf98332434ee770f3c0de21d8953a40 100644 (file)
@@ -101,7 +101,7 @@ void gdm_qos_init(void *nic_ptr)
        }
 
        qcb->qos_list_cnt = 0;
-       qcb->qos_null_idx = QOS_MAX-1;
+       qcb->qos_null_idx = QOS_MAX - 1;
        qcb->qos_limit_size = 255;
 
        spin_lock_init(&qcb->qos_lock);
@@ -128,7 +128,7 @@ void gdm_qos_release_list(void *nic_ptr)
        }
 
        qcb->qos_list_cnt = 0;
-       qcb->qos_null_idx = QOS_MAX-1;
+       qcb->qos_null_idx = QOS_MAX - 1;
 
        for (i = 0; i < QOS_MAX; i++) {
                list_for_each_entry_safe(entry, n, &qcb->qos_list[i], list) {