Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7340637ybi; Wed, 5 Jun 2019 15:55:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHhbvvhnzWVbGGEytoUfWJQcCocWFE1RyBzBAG294XhfYQTSPp3Yym5zo/uYCV17dGfcDq X-Received: by 2002:a63:5207:: with SMTP id g7mr263863pgb.356.1559775343567; Wed, 05 Jun 2019 15:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559775343; cv=none; d=google.com; s=arc-20160816; b=0gkPvoU7eF0Cqii5lwtgw6piUo/UTqBFzPNE/wwWlIlQ43KeJ7y8yvnixlAs4Wuuwu BUSDsWOMptadVKDx4PJScyuSvmo476c8d0FKEy58WoVKo27yvOIVcK30JnzJ18Lh5eDg SBPDkA+ZwUm52vEeU5gXLioq23k36MPVgo+iDYVMmRe8P91YQjHuBCsK9g1XXCkKQIWF 821fyCmr+H0N6idlX8DCGJjW9UciB/5sBYWlKsLKLtLph5E9Sj5ytHE/RkuJIEpdeyr/ HshQNPrdVGs7Vmcd3wZEtjbed7st9L8Qz7S8Y8ukRONQn6Pa35yD26jjx0lqzpP3ncXf 3FIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=QrwP378Yx8DIXukeU1q/ZF59Rsmjz3pwapw7fFRTr9g=; b=pzlukhep9KdWTxp0WpP9Rahi5/ZDdy9WO2Rdtm9nTWIQSjoC6ZQI0zQQPT8CUDaeF9 xxL2ThARwNuNez3bO12QK7HgAWBT8hoYh//MNvYnId3NOrEds3/sxfV2T+m9Tlm3HiOE fLSKZ6+yZ6LRsQCcQOklWTgOEQxLKgbP9Wo1BvSeeJxacIuTG2rG/H9cCCiGMHL+mBhq BlZrtQNTtZRPj0ydv/U1kMNhnmGRLYT6h7jbmWmvZc5ar7sVZenEH8e4daggVWni8O73 AmsyrmRR6BOBEA+2wMpnmfN25TlWuaZd+GYGVB1hRPEYpsQp28xBVyrVbQP7djsJ7M52 o9oQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o39si161779pje.28.2019.06.05.15.55.26; Wed, 05 Jun 2019 15:55:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726652AbfFEWyV (ORCPT + 99 others); Wed, 5 Jun 2019 18:54:21 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:60447 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbfFEWyV (ORCPT ); Wed, 5 Jun 2019 18:54:21 -0400 Received: from [192.168.1.110] ([77.2.1.21]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MekKJ-1h0xvT2Kwv-00aph6; Thu, 06 Jun 2019 00:53:22 +0200 Subject: Re: [PATCH] net: sctp: drop unneeded likely() call around IS_ERR() To: Marcelo Ricardo Leitner , "Enrico Weigelt, metux IT consult" Cc: linux-kernel@vger.kernel.org, vyasevich@gmail.com, nhorman@tuxdriver.com, davem@davemloft.net, linux-sctp@vger.kernel.org, netdev@vger.kernel.org References: <1559768607-17439-1-git-send-email-info@metux.net> <20190605215026.GB3778@localhost.localdomain> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: <56e6ad8c-28b7-9f19-d8fa-a4857b694a1d@metux.net> Date: Wed, 5 Jun 2019 22:53:17 +0000 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190605215026.GB3778@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rXUa6Pc6LMtEftx6VNBQm0VUE3tjcpKDqWWB45fQH9jCYPz2asS ctZSUm2wOOiCmYdX7Avhczn7F4kOpjgkDkoUbQYeNi95kaWBJb44halmQfSPdIOn0OVJMMd Whh7MHrzW8U3YyFhYQyfd6GZKeTL64es1QBztdZm54hjqn/XphsK8xRDApn1JhKZ+g1cQFB tpcumnfFtgHSCSqrc/aww== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:f2CbOOWLVG4=:VbWsfg2E6BvhPcXY6NtKpx 4OtNhSBESV8w2DlbB+LAIulIEK0J2kKe+k6gKPOAgGMkKXbxHccF+HUsAWX19trSpdE7+7L1Y BgQ0A+jm5/XqX/jl8+5zGDFJFu+of1N8O+x191wNPi5vwkHDRaBd7zHk73WqHl2BdJ62bScxK YE7hDcAElBhnNrnIQvx66FGo99k+sunRHaupCm0hqshp+LcOdpTaTe04Z4V4qDtxY31dnuUoN O1U+VfzM+oI7Vy/0T2QJcw772Pqgrd8G50qhATSIV7qlfMtlYSyoPG9ZwrJz6dQuRdhKLrARJ uyqSnHsmX5Ar4vQK4hLfI0eHve9bY0yhUoM/Sx8NauF7elXCWU6yTnqFReZp2+kzRicQDsAlR GSfWrV/NPDowxQGorwjbYzBqFYt77gLGxhhgPUpnk7DHTPeJZLoS7naZVuofdpiw5ukr3lx2o IZCsOGanArdnjW13fq+VPtlPUihvynNofbeEnUJ5SFF02NrXzF9qct6oPOAuRgsusOwnypgeR NX4I7+cS5km3AUtTJ96WHVoL2eoxix1jnzdNdK8396N/2BO8v0nOXvgVOD6zhXP4qMH1NddrB mquswMK05SR6VFS12b8JG6hSpz6iIZSMxMGuvSIu3iH067urDJuGKfW5nE3xaT/dOGykXXfWu vIjlvBU9j3LKEQYE9Lbe6JINpCPgiTibaeDPQmQ5AHLFIei79vk9a5o54LvuhnrL8dcpR+mAG jzqx5QruneOoEO9lVZ++mS9B3k42EhqOrEjDzuYUKTjhSjKvdfxSCROjsGg= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05.06.19 21:50, Marcelo Ricardo Leitner wrote: > On Wed, Jun 05, 2019 at 11:03:27PM +0200, Enrico Weigelt, metux IT consult wrote: >> From: Enrico Weigelt >> >> IS_ERR() already calls unlikely(), so this extra unlikely() call >> around IS_ERR() is not needed. >> >> Signed-off-by: Enrico Weigelt > > Hi, > > This patch overlaps with > Jun 05 Kefeng Wang (4.4K) [PATCH net-next] net: Drop unlikely before IS_ERR(_OR_NULL) I've missed Kefeng's patch ... feel free to ignore mine. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287