Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932768AbbFWOfs (ORCPT ); Tue, 23 Jun 2015 10:35:48 -0400 Received: from mail-by2on0056.outbound.protection.outlook.com ([207.46.100.56]:17920 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753834AbbFWOfj (ORCPT ); Tue, 23 Jun 2015 10:35:39 -0400 Authentication-Results: spf=pass (sender IP is 63.163.107.172) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none; X-AuditID: ac160a68-f790b6d00000123b-fe-55896eb76276 Message-ID: <55896EB5.4030307@sandisk.com> Date: Tue, 23 Jun 2015 07:35:33 -0700 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Vaishali Thakkar , Doug Ledford CC: Sean Hefty , Hal Rosenstock , , Subject: Re: [PATCH] IB/srpt: Convert use of __constant_cpu_to_beXX to cpu_to_beXX References: <20150623044153.GA21400@vaishali-Ideapad-Z570> In-Reply-To: <20150623044153.GA21400@vaishali-Ideapad-Z570> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42JZI8azSHd7XmeowZI7UhYvz39gtdi4eSKj xeVdc9gsnh3qZbFoXr+BxeL5ymusDmweO2fdZfdYvOclk8f7fVfZPD5vkgtgieKySUnNySxL LdK3S+DK6FnezFxwi7li6b5PLA2MP5i6GDk5JARMJJoWb2CDsMUkLtxbD2RzcQgJnGCUmHL6 LCOEs4NRou/CD1aYjtN7t7BCJDYzSiw91McMkuAV0JJonP0bbBSLgKrE12eTwBrYBIwkvr2f ydLFyMEhKhAmsWePKkS5oMTJmU9YQGwRgWCJjvfNzCAzmQUmMUpMOnQC7DxhgSCJRzOegNlC AlYSL8/NYgW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frxp15qLf4F4uB8/cjtXKfM+IXKbEUZyQa ajEXFScCAJnrb50MAgAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD041;1:+4ZA5XdfUF8pf54DvslUh3RxiBdQKQmutZ3PmJcsY0ViuXStXdYQlr7J8joCC/aHdVs2VMjZ7J64eS8meWK/wmZZMr4x0r3l9NjZB6J3IrsuKaYJKnrKAoijgX+caLIOsg3TArFgcUmK0aYQaWpGCIIKzru39zAwrRxIt859rIp3e6K8/ieZShRhWJreQvkpESxmVmVbjQVZOnCYCTf35hEYZyCGcDdWfV4b4QbsYZ9X4TfCFOIX6pkiMbOn1CjUDLqu2tSqP0eKy4KlrrP26QXoVqmai84zNsZf/1iqV7m1Q12cEucrDFA40XNL4Gb34DkOCFiLhAdS31/Q+zaDBg== X-Forefront-Antispam-Report: CIP:63.163.107.172;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(479174004)(24454002)(77156002)(46102003)(189998001)(5001960100002)(76176999)(62966003)(65806001)(106466001)(86362001)(36756003)(23746002)(5001770100001)(80316001)(92566002)(59896002)(65816999)(87266999)(54356999)(87936001)(47776003)(83506001)(33656002)(77096005)(50466002)(50986999)(2950100001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0201MB0746;H:milsmgep11.sandisk.com;FPR:;SPF:Pass;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0201MB0746;2:LayALRtyaYSzrmPQm8ys5/zCO1unOLU5WsllE4DsAYFyC21Bk9sc5PCFC8WyNMbw;3:5jfkoNFX1DbBUNlHVIh4cs0Lbf/HeLQ5z+TLvyWuoQyw4S49IYyhQ2eCUdWM7L5Nc4EfgNtFzDb16nNrIHJYi4/crePo67alJi9lDl9PuRPsBRC6bL8kJd6aEQk68McrAtRGi8X03b+GXJHRbI8Qhy6HP3IRJueuZnFPWf7q6/mpUNhMIyNMTDhH2L4QxA2s/BXweIh9/2dJGK7hlcX97mLoT8Uw2Y6GUtaJXdhh66BaJxEf05HuuehwZeSQh2Oq;20:HugdgtLR23dwykpHK1tFww8ZXck252XbgudSAkdbpv5nExji2myXLqfVPK6VayxeaJvDXYvr425kekkLPdSl5T0WYTtB+rAHs0U78LtdyfiPsmREjLWoYyzEVuRzVcyw7R5Qj0F/j8HDUX/vA2vUEs5xO7P9ZFTiHxAZfk/ad0ht7h5+F0fS/FAqnSduGq05RySyTlDraiYRa2ZUYzjLMaxJ8rqKQCTNebZ4ex+WBtOOg83UPefpmNg7gZZ0vwgv/G/OKUBuIX2z3xotvgb+AS3/GB44PLlSN6nrapCch8FMRyzQj+73oV+1isQWuecmOorKPzDuyhlmXjuLSXWsNmQBJaeOZKMUbCo8phruqEp+cUUic7888k/QsUc3a9vC/8dZHAdxSN0vL8kh6tUxmIfN95AGr4iBKSZv/OvF4hcFpOYVcUSg0L/ns68fB4oQkxIfBWPm4iNuhGqFs99DjHQTHPs46hGwAawTH+68GzT/WRLnkBEvxoljgTHVbfIN X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0201MB0746; 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:CY1PR0201MB0746;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0201MB0746; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0201MB0746;4:r3N1T4FhgC3YRzqRWPX+1+FfgJlxkE+Vr8BEcBOtiaMFMnE5tkl11//VtTOrhcUiphLzoFQMb3p1R1mDvVkTX/s84lLpot5z/hm9kuT7mXnndHYpdkvPA85vhLPqOS1RdhFappbqKIuaJKURDHgQeTVLdowhq2NajHS/qGqBSzHUyl3GWMm3fVO8krJocyulwUn04NA+cSa7PHWvIY8sD4JORGOMYtqdRslAi4ltDId0cSptmWN08TvaRC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NWWyf5Hm/kxGTpH7caMobD/2tjZFkf+NXvVyJZdcT8kcbe+WpSE4FBFdsxmb74cKqprO/PRPDkxc8jV0LGaU9WdAGVAiDDya+rYtT7ElAZG04og==;24:WGYidFLtOvoUNOU1naXK8HTcx+GP4mhsyOOCfJx88O68RnCDtR6Cup/XR2PPwyT418/JoBetzjZt1qwasVB7t3IkAGjdgf+YolFklamCaEg=;20:3AgKIUfBNKcygpo7LBrA8Gg5SI8yEMlq0hU5to+GkINf2y/ql/7B3k+DlYV+KjbaJNDsGssJiMMCot3dSf3/hHDTOmcBpnGGEz4ToAzlalDCEe88lPrpAncBPanRpGdyIULTwwEXNI3eXbfttkPHfteiKMDgjuVvivUGi0Y6D6M= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2015 14:35:35.9715 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d;Ip=[63.163.107.172];Helo=[milsmgep11.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB0746 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 19 On 06/22/15 21:41, Vaishali Thakkar wrote: > if (!slot || slot > 16) { > mad->mad_hdr.status > - = __constant_cpu_to_be16(DM_MAD_STATUS_INVALID_FIELD); > + = cpu_to_be16(DM_MAD_STATUS_INVALID_FIELD); > return; > } Without this change several statements exceeded 80 characters and were split because of that reason. Please change the multi-line statements that have been reduced to less than 80 columns into single-line statements. Bart. -- 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/