Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5115468ybv; Mon, 17 Feb 2020 12:35:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzHjSpbWL1tBXhmxU8lffDWdKK7EJlqALRyO4X53xCy3LRoG/0D+D03jtXh/O4zGYwlqI7L X-Received: by 2002:a9d:7086:: with SMTP id l6mr12922274otj.294.1581971722918; Mon, 17 Feb 2020 12:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581971722; cv=none; d=google.com; s=arc-20160816; b=MKg6cwgqSYDrSFsupClJ6w+fm030BtT++laRYK1UYZYot5AR0wIMUs18rAd20J5/6T g8wVDByrFH2sPg/mKdM9lIwbwZWeBHFliea3dC9J9jIHXaUYUkBhU8qag2E3l4xK7VwX HMV1M/GgFm94jVmzWgYX67pEqTqieqhb5I6VbX4Bewfw959i2ANmyZlyaAEodGPSwwMe UZoa6UxgAqoLu2K8MdF+gF/CoaxIOUYjO2ivDcxvusXkwUVlIwWHAcEWTWwy3f/wBFi3 WsXWZVePq1CneZLHujqqquElOynNNNL0jhR+uyKaI2NnbrWZM29YQm7DH5o4k3EcAkPy UboQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=by1ISgLGqRpke9enJKOwIQKMylcOVlNq2pZSo95Hfnw=; b=p8zXoas6zny1te1XShd7VWCFU9M0ioBIWEt3+hu1z3GseFptoi8HiS3yP8VVwhwF7j rymA7wf1R+jJrViOseeSmS4cDVoqA3Fwvv12z2cXKXn0+T+F+/kcxcF++vN7J3OHv9ZD m05oS0PRchsHB3aXQllaLyXh0kbj7DCbSEwFf+nEkQ+gUuoifMwgHo3uTGbto25fG8Za z+XUibX9O+c01VLYUF9f7Ml+nGF+lxpp2BNpXxQ4gx8ZVrSLeSDEfZPCrXW7HiKWuVoc DYrzfI7pWymD0oLnwg6wzbAwrY7InPT7v6cr1nbcuyTFGlmVlgxydM6Gsejgvnh/iL8e A7FQ== 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 a3si723772otk.234.2020.02.17.12.35.11; Mon, 17 Feb 2020 12:35:22 -0800 (PST) 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 S1729763AbgBQUTP (ORCPT + 99 others); Mon, 17 Feb 2020 15:19:15 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:59506 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728519AbgBQUTP (ORCPT ); Mon, 17 Feb 2020 15:19:15 -0500 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23990941AbgBQUTLxjRK5 (ORCPT + 1 other); Mon, 17 Feb 2020 21:19:11 +0100 Date: Mon, 17 Feb 2020 21:19:11 +0100 From: Ladislav Michl To: "H. Nikolaus Schaller" Cc: MyungJoo Ham , Chanwoo Choi , linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-omap@vger.kernel.org Subject: Re: [PATCH v3] extcon: palmas: hide error messages if gpio returns -EPROBE_DEFER Message-ID: <20200217201911.GA168683@lenoch> References: <20200217182906.GA140676@lenoch> <012228CC-2B49-4AAE-B574-92E44621F0D6@goldelico.com> <20200217190745.GA147152@lenoch> <017C406F-0DD9-478F-8AD5-D950A4000305@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <017C406F-0DD9-478F-8AD5-D950A4000305@goldelico.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikolaus, On Mon, Feb 17, 2020 at 08:33:52PM +0100, H. Nikolaus Schaller wrote: > Hi Ladis, > > > Am 17.02.2020 um 20:07 schrieb Ladislav Michl : > > Linux kernel prints so many lines on bootup and only few of them are > > valuable. Lets improve it by printing error value to give a clue > > why it failed. > > Hm. The upstream code does already print the error. This feature is not removed. > But it is also printing an error in the EPROBE_DEFER case as well, where it is > not needed or not an error. It seems you missed I'm printing also error _value_. The rest of discussion would need disassembly and I'll do it once I'll be waiting for yet another long run recompile. ladis