Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753192AbbHCLeL (ORCPT ); Mon, 3 Aug 2015 07:34:11 -0400 Received: from mail-db3on0114.outbound.protection.outlook.com ([157.55.234.114]:57816 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752089AbbHCLeJ convert rfc822-to-8bit (ORCPT ); Mon, 3 Aug 2015 07:34:09 -0400 X-Greylist: delayed 935 seconds by postgrey-1.27 at vger.kernel.org; Mon, 03 Aug 2015 07:34:08 EDT From: "Shah, Yash (Y.)" To: "gregkh@linuxfoundation.org" , "roxanagabriela10@gmail.com" , "joe@perches.com" , "lambert.quentin@gmail.com" , "vatikaharlalka@gmail.com" , "fabio.falzoi84@gmail.com" , "contact@timothyleung.co" , "tinajohnson.1234@gmail.com" CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] Staging: rts5208: Fix code indentation warning as detected by checkpatch.pl Thread-Topic: [PATCH] Staging: rts5208: Fix code indentation warning as detected by checkpatch.pl Thread-Index: AQHQzd4goLfB/kaDeU2FUWsUesdZ0w== Date: Mon, 3 Aug 2015 11:18:31 +0000 Message-ID: <20150803111826.GA5293@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [91.212.132.116] x-microsoft-exchange-diagnostics: 1;DBXPR06MB493;5:/ug7z5PG2ARz47DM+9Dgl+yOdmdJqzh/LjSBJrohHTuyR7CrjJg7oxGeDwti5XioYcWNUbqEJJEYtm9bubpclJIbxQPZ1/FEQ/eS9+SR7w6jBilJTCsmQhWo6T5GefNba/nNN3bv6hwpZbiTegAKjg==;24:bqedMmfQdtZO6smTakgjSPgusOVgnS26mS9OW/yS1y2+mQQGLu58hFNwgViI6mxJUT59B6cu1RMuIj+ZG89pqacPGgVlAn+JSIsOwCG1Eb4=;20:OIF1rWXiL4vq4k6bvdseSBaLwOS7a+l8UXfXeJypKmTt1oh96LqNQHY/MjioytnEFQLQCUsgJL9uX+k7XoWepQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR06MB493; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:DBXPR06MB493;BCL:0;PCL:0;RULEID:;SRVR:DBXPR06MB493; x-forefront-prvs: 0657D528EC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(979002)(6009001)(122556002)(87936001)(2201001)(86362001)(2656002)(40100003)(33656002)(33716001)(189998001)(62966003)(2501003)(77156002)(66066001)(92566002)(5002640100001)(229853001)(46102003)(102836002)(106116001)(106356001)(5001770100001)(2860100001)(2900100001)(77096005)(19580405001)(50986999)(54356999)(19580395003)(5001920100001)(5001960100002)(473944003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:DBXPR06MB493;H:DBXPR06MB494.eurprd06.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <59F4A722006B004EA91017DD292CD056@eurprd06.prod.outlook.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2015 11:18:31.4219 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR06MB493 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1863 Lines: 67 From: Yash Shah Fixed code indentation warning as detected by checkpatch.pl. Signed-off-by: Yash Shah --- drivers/staging/rts5208/ms.c | 5 ++--- drivers/staging/rts5208/sd.c | 10 ++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rts5208/ms.c b/drivers/staging/rts5208/ms.c index ee818b0..cdaa1ab 100644 --- a/drivers/staging/rts5208/ms.c +++ b/drivers/staging/rts5208/ms.c @@ -1121,11 +1121,10 @@ static int ms_read_attribute_info(struct rtsx_chip *chip) #ifdef SUPPORT_MSXC if ((buf[cur_addr_off + 8] == 0x10) || - (buf[cur_addr_off + 8] == 0x13)) + (buf[cur_addr_off + 8] == 0x13)) { #else - if (buf[cur_addr_off + 8] == 0x10) + if (buf[cur_addr_off + 8] == 0x10) { #endif - { sys_info_addr = ((u32)buf[cur_addr_off + 0] << 24) | ((u32)buf[cur_addr_off + 1] << 16) | ((u32)buf[cur_addr_off + 2] << 8) | diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c index cb41579..d6c4982 100644 --- a/drivers/staging/rts5208/sd.c +++ b/drivers/staging/rts5208/sd.c @@ -246,11 +246,10 @@ RTY_SEND_CMD: } } #ifdef SUPPORT_SD_LOCK - if (ptr[1] & 0x7D) + if (ptr[1] & 0x7D) { #else - if (ptr[1] & 0x7F) + if (ptr[1] & 0x7F) { #endif - { dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n", ptr[1]); rtsx_trace(chip); @@ -4148,11 +4147,10 @@ RTY_SEND_CMD: } } #ifdef SUPPORT_SD_LOCK - if (ptr[1] & 0x7D) + if (ptr[1] & 0x7D) { #else - if (ptr[1] & 0x7F) + if (ptr[1] & 0x7F) { #endif - { rtsx_trace(chip); return STATUS_FAIL; } -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/