]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rt2x00: checkpatch.pl error fixes for rt2x00queue.c
authorMark Einon <mark.einon@gmail.com>
Sat, 6 Nov 2010 14:47:25 +0000 (15:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:29 +0000 (13:26 -0500)
rt2x00queue.c:804: ERROR: space prohibited after that open parenthesis '('
rt2x00queue.c:805: ERROR: space prohibited before that close parenthesis ')'

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c

index 4e2a8c2e014d7e982b9044349e05ac1bdf8a7b68..32d6a17d5aa0c3541b95a76b757d39b56e8cf2b4 100644 (file)
@@ -801,8 +801,8 @@ static int rt2x00queue_alloc_entries(struct data_queue *queue,
                return -ENOMEM;
 
 #define QUEUE_ENTRY_PRIV_OFFSET(__base, __index, __limit, __esize, __psize) \
-       ( ((char *)(__base)) + ((__limit) * (__esize)) + \
-           ((__index) * (__psize)) )
+       (((char *)(__base)) + ((__limit) * (__esize)) + \
+           ((__index) * (__psize)))
 
        for (i = 0; i < queue->limit; i++) {
                entries[i].flags = 0;