Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752019AbdH3CLF (ORCPT ); Tue, 29 Aug 2017 22:11:05 -0400 Received: from mail-bn3nam01on0049.outbound.protection.outlook.com ([104.47.33.49]:17856 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751669AbdH3CLC (ORCPT ); Tue, 29 Aug 2017 22:11:02 -0400 Authentication-Results: spf=pass (sender IP is 208.19.100.20) smtp.mailfrom=microsemi.com; suse.cz; dkim=none (message not signed) header.d=none;suse.cz; dmarc=bestguesspass action=none header.from=microsemi.com; From: Raghava Aditya Renukunta To: Nikola Pajkovsky , dl-esc-Aacraid Linux Driver CC: "James E.J. Bottomley" , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation Thread-Topic: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation Thread-Index: AQHTIL476E4/LN/vc0GZ615APZpcbqKcKK4Q Date: Wed, 30 Aug 2017 02:10:35 +0000 Message-ID: <4D8E82A446BF54499747901DBDEB737A8D0C198B@avsrvexchmbx1.microsemi.net> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.100.34.31] Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.20;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(199003)(13464003)(377454003)(189002)(229853002)(6636002)(2950100002)(81156014)(81166006)(8746002)(8936002)(8676002)(23746002)(55846006)(104016004)(305945005)(356003)(7736002)(69596002)(478600001)(2906002)(53936002)(189998001)(6116002)(102836003)(3846002)(72206003)(54906002)(9686003)(97736004)(86362001)(33656002)(53546010)(5250100002)(47776003)(4326008)(50986999)(76176999)(54356999)(626005)(68736007)(106466001)(50466002)(2920100001)(2900100001)(6246003)(5660300001)(7696004)(49446005)(53416004)(26583001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR02MB2197;H:avsrvexchhts2.microsemi.net;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD021;1:wLXsF4DBwjVoCGUf89kv6dWGP7oC/JwF1MxwWdEF6HCMYZYw69PCu2+uRDQ5ir13Bzj0qpwSNR5bpz1n4phBi2kxGzIC1m1CJAqSeWwmkHzjOgrOdEG5TfHx5xahBxO3 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 967d978c-6211-426f-0d6f-08d4ef4c5b48 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CY4PR02MB2197; X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2197;3:RNmKsFiB48ug7EtbDtd9H/Pk8YdXHteoUiJPwpiczP5gFJbmNm2kF8hwxkM7mwlAJYyORxJRzfpGS0e/wMGQAnjUhMjxTaA/oxWBFAw2SYnNhRM/W50YmI+V8T+oSebGCCf8sMJb28cXkqD10XgSrKmEoYA7/5FwVRKu6EaCeDhbWVrxsiuJvfKKWpXv9jx3ODydxMVM/JF6uwJn6S1d22tJZ8m5MY1qrL3q4Ibf8bk9hw8MFgoFCAh/p6usg5aH8ijf8akffqV7TAHK5zUUfxzhbcG9GMa4wwmr1c4E7awjJ9dOi5zxBWGUwu0TVyrGYq+LPlNhhBBrWs5W7J5uWaPJWcev0cL0AtL02WUduEI=;25:uHTJsIEhcH3EPAOGFMPpLV1D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+saTLXjjse7xAio5//hqf2pVR8cshqcVqdlG3zpzFmC9I7JYFQ69xU73icbDhl/P1YFzE5Ia6L X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(72170198267865)(104084551191319)(146099531331640); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(100000703101)(100105400095)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123558100)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR02MB2197;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR02MB2197; X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2197;4:0HJapSvHdLZK4PBQC/BVBmC1fcxNRX74ZtJr6CDNKnnNRRRKIZxpnWNNy1xrFVExJuvq9554bLZHeFA8ClXbrNAKXUafz0o3K0QxzfgddKjAniQlLR0NFGJUqFVDSy1l/DBi+hRifxWS0+PUXZl08MLLkXG7lxzlOPu6aYWLpLDnUziVzhvnCM6uBB4ncTU6fKPnKhiIe4bPmFT4ery5/X91diw83mhnf6m9PF8qnU5TLadp5E2PSs+MzPMw1IQPTAMSlhodAVbPdztYMTPBo6+wtna6h4y7+66zUWankYHRT9uXV54Ldt9SDtuphg35nmjAZz/ME0wi/tPEK0w/6MWDQQ1CqccvLZ2hWfO/y//4+cU7pzr1vm6O5HZLlfmo6lQjVZj0F/AXg0iZLf3ltw== X-Forefront-PRVS: 041517DFAB X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY4PR02MB2197;23:Z1B27sTtqYlp/Fgfopq5ZaAjdeCgXE3WrVWwX?= =?Windows-1252?Q?9ecItUz1KZqqdgTDzWaWaEGVqdw1DCL7FjBnsb/l1G0P2ySfl4gyNyWz?= =?Windows-1252?Q?L1NqQ/fM2MaoYXq4brxhKOw3K01AePVZG8g9R1jog2VzJ8RLdBDI1vzD?= =?Windows-1252?Q?B3oRf+le6/HKe3c/EOrvrrn8Ed0FMbp7vtKJrUFDb/tIQFivdDyqJLPB?= =?Windows-1252?Q?Ak0Zr/CEqLskjmTGJ0rmyr/P0+JWrJiqAgh4Rnq/Ck2BYNaEnNSTzSGB?= =?Windows-1252?Q?GOvoBkhMxJ/cOH/yz1HuUZxVRiKc9OomEVK2Y9V9hA/45o21bXNi14+h?= =?Windows-1252?Q?4PwiCMjL0jGIwVUqKo/rfu1/qGZPFHLL3mIbk0T03pBo2w3Qi3ALjqWl?= =?Windows-1252?Q?c54j/3Gz7SSSUCnhJxsf51aySyqh+xKMM7vr7X8CWBI0E+ho68EwDZbS?= =?Windows-1252?Q?WlhmwFvaGn4NQAYzYkqI8iCynXUwZZAst+C5ON/nDakIGarMCCDkEOuz?= =?Windows-1252?Q?OQmAqhIKx/MLIgvY+l9R8vyGy7iHy8skwrvVYm77txlVnYyGVVdd+LZY?= =?Windows-1252?Q?zQ6gJItfna/EOtt+f3brgl05biLyeMsqS+XFqlMV8uG7MFYb7ddl3N7q?= =?Windows-1252?Q?wOL9hMBmX+fEntM6nXYMcHnrgEcie5VMx6NcJWRPKcho+oVxFmAoWYme?= =?Windows-1252?Q?3m/cWnVOve6B8OfZd9pHx2IFVIn0ntCYAH24K4If59wpJpE+kd/pkARU?= =?Windows-1252?Q?2iWZSHqG9zM3bKQh6EDuS3L58L3twJmOedxlkG5XgrH2wIkXyjK2pu2N?= =?Windows-1252?Q?UTtSnbLwm5sDBzxe/TFlbw4vSfYKe+sayBaE3XBkbesUz0sr9olTHwAI?= =?Windows-1252?Q?OHFqqQMQUpIzRC0iVa5tq9LmrfH76FXfUIfCjXqQhgW9Uhc/b0vIGIOE?= =?Windows-1252?Q?n1P31sjxQqX9gVvg9xfs/OeiamQwC6J6UeR6NaIRzyhcjEDFSwQw1gwH?= =?Windows-1252?Q?22JtzCZuGPI6lSlKzojSZzKAF8p0vu+tfI43tj9zB/3/GzwvuEBow56P?= =?Windows-1252?Q?V+jZCXn7Df2+0Z7DezIIwvZ/z+KR5Z8RqGA37f4ct2DTivw/hzEwxd7C?= =?Windows-1252?Q?dMsG6PQLTQz9G/2kxMphoqhyU+e0DZYCKIofCJSYDok1gqjjkxZxVy/o?= =?Windows-1252?Q?K0pW5BwTa/ow/DwRaWcgq2tfwlBZPZkZKKbKbiin1XJ//xsGZC54GTMZ?= =?Windows-1252?Q?GDt9L067dTtPRdqV4+oWlybjv05/tpSGnGL6YYfGr32rxXQPdyKrFbcy?= =?Windows-1252?Q?/ZbhEJhHznA6NrpuPkPFHv/Dn0I0i4Z77mJ0pudWPw8/UBqqza7nHNCf?= =?Windows-1252?Q?9hi9U+TS+Ty4E9himlsvfTrYdvyHJg7PQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2197;6:BqlukVGvPKfcFKsBZ3yG90iyC8LPSJeemvxpgPcJLyDquJfhh/T+/qRRbbet0y3T/yv9BHopiZbps2uRBNYncb+NMKWpF1SZpXF/PemwjRRYlnMUTUlx2nXAaj+kYHE+OSrNMNIbPoXviMOqf6LTo5kj+KMon40XARMPyEKgFolbYh1bSnSd8RZdCErEgYPbeTANVYBCTHPimhdGfglvI5c1RgBIxokPTTESqfYGCYnvsxlJ0feD6TG6iuY/5Wxtcuf9GPTDBPHz4Vzuwu445ZJTxTa6Qk5ftQAScz4zX5wdTYQirImYVQFBoq7i0AKe2ZrWl0sXF19zRSKXcossng==;5:64vqUxzpLPV0eoHZu23ymMSAOZZuixPSBHekmoLLbO7L3dDS6QyqtgTt73LG5kfUxAIO5Gq5A9QwShoYIvYX/yosgOA7rP0fK7tINPbMIu1ud/oGiBmYDcScIbPMxTAdaaSsVdIN125RotLdUobAOg==;24:URF4uWzGEcPM8EPmnWA7DdZeY9aJRaRO1qRGtz6seCSghwhNmaY11l7rHdk+2pUw6/TWqOvL6p/AD37/BQbAPWebZhQfT1RpkzLR2wxb3IY=;7:25AG+RGh9OQkHWzrK27YsCzQavL5sUBrwiMoTm2oZkjOXNUSq9dXF+Jq18mKbVX+4FSTMlhyWx+GVfrhr1dKMQHgYCaubG5ZBWKfhw5u2PnepqbM6M0Qx3SOKAyXzNkvv972zY14Mx7VXzzb9iSw2EO1uTCOe5sPNJiZm0rrT17pW4qhosZDwRxOHQHLb4FDurg1Mputh/zRY5VGAChyyKzxyaPgLrRAi1HdSxqtXk4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2017 02:10:59.1900 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad;Ip=[208.19.100.20];Helo=[avsrvexchhts2.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2197 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7U2B8Lk001045 Content-Length: 991 Lines: 39 > -----Original Message----- > From: Nikola Pajkovsky [mailto:npajkovsky@suse.cz] > Sent: Tuesday, August 29, 2017 4:59 AM > To: dl-esc-Aacraid Linux Driver > Cc: Nikola Pajkovsky ; James E.J. Bottomley > ; Martin K. Petersen > ; linux-scsi@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: [PATCH 2/3] scsi: aacraid: get rid of one level of indentation > > EXTERNAL EMAIL > > > unsigned long byte_count = 0; > nseg = scsi_dma_map(scsicmd); > if (nseg < 0) > return nseg; > if (nseg) { > ... > } > return byte_count; > > is equal to > > unsigned long byte_count = 0; > nseg = scsi_dma_map(scsicmd); > if (nseg <= 0) > return nseg; > ... > return byte_count; > > No other code has changed. > > Signed-off-by: Nikola Pajkovsky > --- [.....] Reviewed-by: Raghava Aditya Renukunta