Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2143311ybl; Sat, 31 Aug 2019 08:51:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbbsR3TZLuaF1OcosBZjqqw4ZiqF+ZDWx7awdQ0ZqB9HbUxivTNrz/UC7VJrlhrhkkHQL5 X-Received: by 2002:a63:f926:: with SMTP id h38mr17774663pgi.80.1567266708386; Sat, 31 Aug 2019 08:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567266708; cv=none; d=google.com; s=arc-20160816; b=rqK4NogzkgT8PIPkFN5bGh+JutOC9Jv+HSVnQWF84gfwvDf1jjP5Rz+7ksrLrldjvP mNYzrWVolbew6Bf+sBdiFySQn4sFDOL2QYrLlL1gOfSghmaw7zjzdCLu2L0Y3YQnQlQx rv2Z1P6p7Me1VNM69AYINqLaV7DQwUA3CAqxtmjShZK0/J0zvGFXOh2ASCpW5fBXcWyO rb9G0oZgJO1rZs2SCi19A/iaymT/9gMXR/v4tIDkvp7lsDfkl/fWcYLNNbbP3Gld+xUc ST7E/Pk6j08mrN5R5vDTIgdK9eyLwaU0ZZdo3xTyh7DhST8jGVrS5NnjN2dPTsA0q6io JvtQ== 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:from:references:cc:to:subject; bh=U3VxUoUQ9u6OvqsxWIcfgHA20dcK/6B+yxini8J+f3c=; b=ZAnU5ToA6HmlI93QwvvzLftnQ1K1d1D6wOyRVFzjWJYYG5X3xGqVhjpJqK7m+XOGaI wVZNB+x0rpfZVDdDsB5rNUP2WxPvBXSIIduyj4rtbghAnzz5WTTeXa1l+7n+1RRFcsVP 4h53wMnDDWGhpCWhBoQZo5C8AuBzdGMds0dnOGQnFBT8oO8mVwRX05KJCJ1xaQN4mnBE LvGXvbEDNuQgtC8GojKLhT6yGhrlza1GfB6k+E2V+HlFVAvnT7x2Ru3cXzYeBXk/THjd JfB/43jTbcgR3ljoFdaXDTatboh46k1xdDO6cBiKtkKUq6lbEQNIOnnVYXfKDEPXHmKb K5xA== 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 d1si7395147pgq.540.2019.08.31.08.51.32; Sat, 31 Aug 2019 08:51:48 -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 S1728366AbfHaPui (ORCPT + 99 others); Sat, 31 Aug 2019 11:50:38 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:46237 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727816AbfHaPui (ORCPT ); Sat, 31 Aug 2019 11:50:38 -0400 Received: by mail-ed1-f68.google.com with SMTP id z51so11399626edz.13; Sat, 31 Aug 2019 08:50:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=U3VxUoUQ9u6OvqsxWIcfgHA20dcK/6B+yxini8J+f3c=; b=AfZiUAuCkdI0dPBv3wfNc93qQetOvDpgu/DUYEjl8Of2P3IpkjUZdC0vxWiDj1PRVj 6MYDpzeK00Oprc3mfcQp+G+/U9833AaGkYEgXc3cKLJ+Tq2nJd6CtqDca3lCJl0CfJN8 lu8XD+HhQFylBq+R+aOQ4IYDfMgsrHoaDAj1hjrt7/ZDY/HzhswaMueieIYWvxZBxjuO 6tP8kct1vwamSYr2FwxdWuopLGGlQAJuLYEAzDGO4MHKnA+HB5e16wIAOp3DtDPmtKzT 100ZlcuZ9YZufJ+Nn0WnPk0AVluh8+LUBBOiqoWUSrjnQIXtRwtCr5AkcgS7TW/wHv0H /Mcg== X-Gm-Message-State: APjAAAXz1p6xQpnWPyLUjlsC2QvGYtpPycpPzWF5DI0eIAreDQmB6P9P y/jNuMR4x+Xp9BlQvNzVuFJuhV5Q X-Received: by 2002:a17:906:9385:: with SMTP id l5mr17240507ejx.8.1567266636484; Sat, 31 Aug 2019 08:50:36 -0700 (PDT) Received: from [10.68.32.192] (broadband-188-32-48-208.ip.moscow.rt.ru. [188.32.48.208]) by smtp.gmail.com with ESMTPSA id w11sm706756eju.9.2019.08.31.08.50.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Aug 2019 08:50:35 -0700 (PDT) Subject: Re: [PATCH v3 09/11] Input: alps - remove unlikely() from IS_ERR*() condition To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: Dmitry Torokhov , linux-kernel@vger.kernel.org, Joe Perches , Andrew Morton , linux-input@vger.kernel.org References: <20190829165025.15750-1-efremov@linux.com> <20190829165025.15750-9-efremov@linux.com> <20190829175039.GA187474@dtor-ws> <20190831152500.eg7xqo5ace6wu427@pali> From: Denis Efremov Message-ID: Date: Sat, 31 Aug 2019 18:50:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190831152500.eg7xqo5ace6wu427@pali> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31.08.2019 18:25, Pali Rohár wrote: > On Thursday 29 August 2019 10:50:39 Dmitry Torokhov wrote: >> On Thu, Aug 29, 2019 at 07:50:23PM +0300, Denis Efremov wrote: >>> "unlikely(IS_ERR_OR_NULL(x))" is excessive. IS_ERR_OR_NULL() already uses >>> unlikely() internally. >> >> The keyword here is _internally_. >> >> https://lore.kernel.org/lkml/20190821174857.GD76194@dtor-ws/ >> >> So please no. > > Dmitry and I already rejected this patch, see also linked-list: > https://lore.kernel.org/lkml/20190820111719.7blyk5jstgwde2ae@pali/ > Looks like this is a very long recurring story with this patch. Thanks, for the clarification. Regards, Denis