Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752777AbbHCFuX (ORCPT ); Mon, 3 Aug 2015 01:50:23 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:46197 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752462AbbHCFuV (ORCPT ); Mon, 3 Aug 2015 01:50:21 -0400 X-AuditID: cbfee68d-f79106d00000728c-a8-55bf0119dfad Date: Mon, 03 Aug 2015 05:50:17 +0000 (GMT) From: MyungJoo Ham Subject: Re: Re: [PATCH 03/15] drivers: devfreq: Drop unlikely before IS_ERR(_OR_NULL) To: Viresh Kumar Cc: "akpm@linux-foundation.org" , "linaro-kernel@lists.linaro.org" , "linux-kernel@vger.kernel.org" , =?utf-8?Q?=EB=B0=95=EA=B2=BD=EB=AF=BC?= , "open list:DEVICE FREQUENCY (DEVFREQ)" Reply-to: myungjoo.ham@samsung.com MIME-version: 1.0 X-MTR: 20150803054854463@myungjoo.ham Msgkey: 20150803054854463@myungjoo.ham X-EPLocale: ko_KR.utf-8 X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-MLAttribute: X-RootMTR: 20150803054854463@myungjoo.ham X-ParentMTR: X-ArchiveUser: X-CPGSPASS: N X-ConfirmMail: N,general Content-type: text/plain; charset=utf-8 MIME-version: 1.0 Message-id: <1197027641.344961438581016329.JavaMail.weblogic@epmlwas06d> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCIsWRmVeSWpSXmKPExsWyRsSkUFeScX+owcXpNhaXd81hc2D0+LxJ LoAxissmJTUnsyy1SN8ugSvj8f2Z7AXvOCu+TWhkbWA8wdnFyMkhJKAusWjJSTYQW0LARKLv 3WtmCFtM4sK99UBxLqCapYwS85svMsEULbr3kBkiMYdR4t754+wgCRYBFYl9N16xdjFycLAJ 6EnM/JwMEhYWCJO4OmsiWK+IgI5E29sTTCC9z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 OYlpX9dAHSotcX7WBkaYoxd/fwwV55c4dnsHE4QtIDH1zEGoGi2JBVu2QM3kk1iz8C0LTP2u U8uZYXbd3zIXqldCYmvLE1YQm1lAUWJK90N2kN+ZBTQl1u/SR/cKr4CHxIeFe9kmMMrOQpKa haR7FkI3spIFjCyrGEVTC5ILipPSK4z0ihNzi0vz0vWS83M3MYKT0LNFOxj/nbc+xCjAwajE wztj3r5QIdbEsuLK3EOMEhzMSiK8P34DhXhTEiurUovy44tKc1KLDzGaAuNsIrOUaHI+MEHm lcQbGhubmJmYWppYGJiaK4nz/j+XGyIkkJ5YkpqdmlqQWgTTx8TBKdXAOHcd34tJHLcCFz6/ kMRzttXhG3N67r2yY2rP10364n/8z5akjL9XLkVLnGPLrCl7Eqy5kGN97+e+j+uC/j3xsWy/ OlW9Y6VfB2fHH5Y/ZbFPUop2ubNfVz6u+b6ClUv2zSFlAaP5b/zbPtSEmR83S/zduKQ5IGWL 1hq7a9UbvwQtX1Gr6xD5V4mlOCPRUIu5qDgRACGj7jdYAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected 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 base64 to 8bit by mail.home.local id t735oSaa023527 Content-Length: 1041 Lines: 38 > On 03-08-15, 05:10, MyungJoo Ham wrote: > > > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > > > is no need to do that again from its callers. Drop it. > > > > > > Signed-off-by: Viresh Kumar > > > > @ from include/linux/err.h > > #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) > > ... > > static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) > > { > > return !ptr || IS_ERR_VALUE((unsigned long)ptr); > > } > > > > "!ptr" appears not covered with IS_ERR_OR_NULL. > > (only the IS_ERR part seems covered) > > Right, the first patch of the series has fixed that. > > http://permalink.gmane.org/gmane.linux.kernel/2009151 Ah.. ok, then, Acked-by: MyungJoo Ham please let me know when the series is ready to go. Cheers, MyungJoo > > -- > viresh > ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?