Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp386348lqp; Sat, 13 Apr 2024 01:12:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTxjNKVXytiAAoi0NMafL/kDMlb3WMuUReMDumSGn4ooArljIQmpMtcdl+8beaKCUANqYRbuRhUkNw9+uExyDz00fKefCn6GCSygKa6w== X-Google-Smtp-Source: AGHT+IHD9moLLIOQ0P3dPrJIuKKw2+q2X0u4MrSyiMwfUlmuYj7qOOdr7XxerbsrnA/rKI+UF62h X-Received: by 2002:a0c:ef8a:0:b0:699:2243:2948 with SMTP id w10-20020a0cef8a000000b0069922432948mr4937406qvr.35.1712995963557; Sat, 13 Apr 2024 01:12:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712995963; cv=pass; d=google.com; s=arc-20160816; b=a1JeQlhfpdDVIqDXcrXIN26qkBRzh6eaCcuVtks6ZBLklYuhPHgAYAICX8rRjOftiy O2ANT6EsE1WT7HWBKkdF3cyl3tApP65wlNVYVMpyYNJBHay7R3KyaYdYex9KwlscvFIH 17Bbfvwh9CHGJMuPDRnhxd/9xiTfcMWv1tev4R1a6/5GEexXoNkdTyrSEcd+DgWKAlE2 aoz7gAseoHzjjwFqQD01shaC1aDlYJFXTjx2cK80jph2OFe9FtHjvBb8o3edKZ9gwF11 YRHCDg/z5Y+n2jedMXyEBG6SydMy8/0leow3YUBl7+WAIHs+ACePsNc6rwg/C66XyxgT NPsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=ahlUb9+Un53eTerF9Lifl5XA3JlHB2YHwocz+Ot5irk=; fh=Yk6Cut6u9vBtaFavEqRqIKK2Yq3yiq23HrvP2YeK9cU=; b=pbSyGwtu//I9DnTkJlal1pvr7gfrMFzu/qZD3w7incVlQCh7jeeyNEJ4h3JHVpIVeD g5JtJvpkm+fv4VsQK822csoeqeUb3afMSe4I7hQMtl26/SxGvSEQqfsudrFYOPJpNEig eZTupg0hxfsnqyR4SIWwd9ggab6eSrHYIJJ5YYRsle3W5SCBJX6gTy2V9rQqFKh0PpZo y5fcFcBWIaAozC0xAVSfMwkVz5Ps7pV7jAMjwBMEwkSBxw2dXBG7g1ARbCZKCtJGfwJS zlO9UAaVGJMoDOwfM5G//WviC8AVvK8v+VZutn5/4VRByzAuxcC6yzGS5ocKJveZkPex j8oQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b="Bu6UDgW/"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b6-20020a05622a020600b004367f8cea78si4002122qtx.587.2024.04.13.01.12.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Apr 2024 01:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b="Bu6UDgW/"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-143628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 475121C2117A for ; Sat, 13 Apr 2024 08:12:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CECC20B28; Sat, 13 Apr 2024 08:12:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="Bu6UDgW/" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A0ED944F; Sat, 13 Apr 2024 08:12:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712995955; cv=none; b=FTPNQRkTmDqk08fwJqgupu8+YTBBum/kae/t3RIZWHGgURAjjf20dxXqXarVtOYhPHyvfCEIkoVx9LdT04bUzgUdowgm18vVFs+CFlWqDo9xuyp6gKj0fB3yEpPuT+4UN3IVFumPHaz5c3FCaY/n2WKKz7t51ewEeG4cR6pT6do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712995955; c=relaxed/simple; bh=3EHZjVd+aLZ3jM9IhMRLRR+KLD0vUVJPZD02Pv8QCTo=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=kzm7X766PAnaRvPNgBLPH++RX9D2GHIOPOzbMtzTqp/2hcSDZBsb7aX9x1SXJql6JR6DLYAFcO7KhBg/7mrzPomp6QhVwlu15Tlnt81dLI5epTYHQJdhBtROCtuF1IMIHk+1wgupAchDc/WdBEEvCk/p4U4Lel6hXRSF7P8xH28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=Bu6UDgW/; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1712995951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ahlUb9+Un53eTerF9Lifl5XA3JlHB2YHwocz+Ot5irk=; b=Bu6UDgW/c68Krg6kKB8aSCIEMHl5gzJ3nYG44WRalu+s/vgsKw+FaOerxX9yYS5rif1TyL xREyQzbWxJIlkKALTCDHY9TJ7xwWrNp6cu4tVrZI9fqPdSXTaMIu5HuZ6W4Y5HbtdbRXdA q86i6NI3YLzEJ4x74NClyUK3FDXO/skz/n1nBLkndfh7T0UVeryUlavs7mLeGQpOBq3tBE 91LRvUYqI3oQy2Od++Psrbym/vlHvlIirJqtuhJqNE+CtERrwU7REzF59SMvUbE6qUWFFW A9hcam1wyedhnJ+bqM0UM0+35xSi+tSHn6fYFsaDcMMRk+vDyzN35Peg0PrLlw== Date: Sat, 13 Apr 2024 10:12:31 +0200 From: Dragan Simic To: =?UTF-8?Q?Heiko_St=C3=BCbner?= Cc: linux-i2c@vger.kernel.org, Andi Shyti , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 13/18] i2c: rk3x: remove printout on handled timeouts In-Reply-To: <8358604.T7Z3S40VBb@diego> References: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> <8358604.T7Z3S40VBb@diego> Message-ID: X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org Hello Heiko, On 2024-04-13 09:58, Heiko Stübner wrote: > Am Samstag, 13. April 2024, 08:44:41 CEST schrieb Dragan Simic: >> On 2024-04-13 08:38, Wolfram Sang wrote: >> >> Maybe it would be good to turn it into a debug message, instead of >> >> simply removing it? Maybe not all client drivers handle it correctly, >> >> in which case having an easy way for debugging would be beneficial. >> > >> > Hmm, but it still returns -ETIMEDOUT to distinguish cases? >> >> Sure, but I think that having such an additional debug facility >> can only help and save the people from adding temporary printk()s >> while debugging. > > Also we're talking about two lines of code, I wouldn't call that bloat > ;-) > I was thinking about dev_dbg vs. removal too, but hadn't a clear > favorite. > > So essentially Dragan is tipping the scale and I guess dev_dbg might be > the nicer way to go. Yes, the code for printing the message is already there and it's only a couple of lines, so it might be a good idea to recycle it. :)