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

Staging: rts5208: Fix code indentation warning as detected by checkpatch.pl

Fixed code indentation warning as detected by checkpatch.pl.

Signed-off-by: Yash Shah <yshah1@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yash Shah and committed by
Greg Kroah-Hartman
66e6d70d a96389d9

+6 -9
+2 -3
drivers/staging/rts5208/ms.c
··· 1121 1121 1122 1122 #ifdef SUPPORT_MSXC 1123 1123 if ((buf[cur_addr_off + 8] == 0x10) || 1124 - (buf[cur_addr_off + 8] == 0x13)) 1124 + (buf[cur_addr_off + 8] == 0x13)) { 1125 1125 #else 1126 - if (buf[cur_addr_off + 8] == 0x10) 1126 + if (buf[cur_addr_off + 8] == 0x10) { 1127 1127 #endif 1128 - { 1129 1128 sys_info_addr = ((u32)buf[cur_addr_off + 0] << 24) | 1130 1129 ((u32)buf[cur_addr_off + 1] << 16) | 1131 1130 ((u32)buf[cur_addr_off + 2] << 8) |
+4 -6
drivers/staging/rts5208/sd.c
··· 246 246 } 247 247 } 248 248 #ifdef SUPPORT_SD_LOCK 249 - if (ptr[1] & 0x7D) 249 + if (ptr[1] & 0x7D) { 250 250 #else 251 - if (ptr[1] & 0x7F) 251 + if (ptr[1] & 0x7F) { 252 252 #endif 253 - { 254 253 dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n", 255 254 ptr[1]); 256 255 rtsx_trace(chip); ··· 4147 4148 } 4148 4149 } 4149 4150 #ifdef SUPPORT_SD_LOCK 4150 - if (ptr[1] & 0x7D) 4151 + if (ptr[1] & 0x7D) { 4151 4152 #else 4152 - if (ptr[1] & 0x7F) 4153 + if (ptr[1] & 0x7F) { 4153 4154 #endif 4154 - { 4155 4155 rtsx_trace(chip); 4156 4156 return STATUS_FAIL; 4157 4157 }