Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: gdm724x: fix misplaced open braces

This patch fixes the following checkpatch.pl issues in gdm_usb.c:
ERROR: that open brace { should be on the previous line

Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Cihangir Akturk and committed by
Greg Kroah-Hartman
e010a2a0 45c2fc82

+11 -17
+11 -17
drivers/staging/gdm724x/gdm_usb.c
··· 264 264 unsigned long flags; 265 265 266 266 spin_lock_irqsave(&tx->lock, flags); 267 - list_for_each_entry_safe(t_sdu, t_sdu_next, &tx->sdu_list, list) 268 - { 267 + list_for_each_entry_safe(t_sdu, t_sdu_next, &tx->sdu_list, list) { 269 268 list_del(&t_sdu->list); 270 269 free_tx_sdu_struct(t_sdu); 271 270 } 272 271 273 - list_for_each_entry_safe(t, t_next, &tx->hci_list, list) 274 - { 272 + list_for_each_entry_safe(t, t_next, &tx->hci_list, list) { 275 273 list_del(&t->list); 276 274 free_tx_struct(t); 277 275 } 278 276 279 - list_for_each_entry_safe(t_sdu, t_sdu_next, &tx->free_list, list) 280 - { 277 + list_for_each_entry_safe(t_sdu, t_sdu_next, &tx->free_list, list) { 281 278 list_del(&t_sdu->list); 282 279 free_tx_sdu_struct(t_sdu); 283 280 } 284 281 spin_unlock_irqrestore(&tx->lock, flags); 285 282 286 283 spin_lock_irqsave(&rx->submit_lock, flags); 287 - list_for_each_entry_safe(r, r_next, &rx->rx_submit_list, rx_submit_list) 288 - { 284 + list_for_each_entry_safe(r, r_next, &rx->rx_submit_list, 285 + rx_submit_list) { 289 286 spin_unlock_irqrestore(&rx->submit_lock, flags); 290 287 usb_kill_urb(r->urb); 291 288 spin_lock_irqsave(&rx->submit_lock, flags); ··· 290 293 spin_unlock_irqrestore(&rx->submit_lock, flags); 291 294 292 295 spin_lock_irqsave(&rx->rx_lock, flags); 293 - list_for_each_entry_safe(r, r_next, &rx->free_list, free_list) 294 - { 296 + list_for_each_entry_safe(r, r_next, &rx->free_list, free_list) { 295 297 list_del(&r->free_list); 296 298 free_rx_struct(r); 297 299 } 298 300 spin_unlock_irqrestore(&rx->rx_lock, flags); 299 301 300 302 spin_lock_irqsave(&rx->to_host_lock, flags); 301 - list_for_each_entry_safe(r, r_next, &rx->to_host_list, to_host_list) 302 - { 303 + list_for_each_entry_safe(r, r_next, &rx->to_host_list, to_host_list) { 303 304 if (r->index == (void *)udev) { 304 305 list_del(&r->to_host_list); 305 306 free_rx_struct(r); ··· 453 458 struct usb_rx *r_remove, *r_remove_next; 454 459 455 460 spin_lock_irqsave(&rx->submit_lock, flags); 456 - list_for_each_entry_safe(r_remove, 457 - r_remove_next, &rx->rx_submit_list, rx_submit_list) 458 - { 461 + list_for_each_entry_safe(r_remove, r_remove_next, 462 + &rx->rx_submit_list, rx_submit_list) { 459 463 if (r == r_remove) { 460 464 list_del(&r->rx_submit_list); 461 465 break; ··· 932 938 udev->usb_state = PM_SUSPEND; 933 939 934 940 spin_lock_irqsave(&rx->submit_lock, flags); 935 - list_for_each_entry_safe(r, r_next, &rx->rx_submit_list, rx_submit_list) 936 - { 941 + list_for_each_entry_safe(r, r_next, &rx->rx_submit_list, 942 + rx_submit_list) { 937 943 spin_unlock_irqrestore(&rx->submit_lock, flags); 938 944 usb_kill_urb(r->urb); 939 945 spin_lock_irqsave(&rx->submit_lock, flags);