From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE8C4C4345F for ; Sat, 13 Apr 2024 08:07:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EvWYo4EEQIhO2UY5/Qh8UaiCihdQDUOCplZA3F5e5+k=; b=jtg1lB/hj66oXk15rJwIAbohf6 n3/FAe/687NfQdomL3FercnOk+8/gCN52THgQB1Kt1UqXNjYM15mdnoaO6AXu46w9X4+HuSpzTKLY HfcSV3f0G4huGO2gOHhue3bC8NUQZDCF28Rnoe9t1dOupG6juleauk8+d2jux6MIiCgGxVIMBJkPY W0SC7bZKOGPvh6GgQCSafm36d+Qo8P54FHvpi74Aa8fht5H4yteO0Zv0cRPK2C3Nsjd5LTfkEfKOH Y29bbrAlju+CLdFcRWbxn4Nd4Rt5y+z6wfD7LhunqKGpa88FUh/al6VYmacGn41YHG+/g0ARmq/0S v3RmFyxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvYQJ-00000002hmt-0Sh3; Sat, 13 Apr 2024 08:07:43 +0000 Received: from mail.manjaro.org ([116.203.91.91]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvYQF-00000002hlM-20bV; Sat, 13 Apr 2024 08:07:41 +0000 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1712995656; 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=LYnFdov+ZX/QOZ7UzZrEIgIh+j/rWuxjP60G0MEoink=; b=SXSI/zHnVe20vBjAJpoMtu0ZvHlgIlLW7ApEhhizFKZ5rvG3+XevLHEewK3oKkfjTsSqqk t0Srxkbcjs68F3n41znGHHd3qszBWObflOHquPzzRIm2sQ7dnjDFaP0u6F76deVkS1HGoq UKtUVd0UCTwoj43JUugxjLUfXlEiqLZOBRcxZguwJOeDzz4Hv5O3mnoL6TaVNzHSSaQtNs TMThbVDIkw3H27nn6oOH6/6JPUaZ7TS0c6V4frYeZveVLK1OBwYV4iBgWseru5XxW2jdvi FrbF4kZwpxsLThi2XHh/yhc5YWCOjIv+7xTmf1UavFjeWclZc19do+HsdPnRUA== Date: Sat, 13 Apr 2024 10:07:36 +0200 From: Dragan Simic To: Dragan Simic Cc: linux-i2c@vger.kernel.org, Heiko Stuebner , 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: <4ogowge36wr2lk2zdsv3zc3sm3pjk4h5wmy2hjth734kgsr3rs@lb4wsmkpavnd> References: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> <20240410112418.6400-33-wsa+renesas@sang-engineering.com> <4bcd397ec377a4932c34d62c85ef28ed@manjaro.org> <4ogowge36wr2lk2zdsv3zc3sm3pjk4h5wmy2hjth734kgsr3rs@lb4wsmkpavnd> Message-ID: X-Sender: dsimic@manjaro.org Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240413_010739_851059_ADC0BE85 X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Wolfram, On 2024-04-13 09:10, Wolfram Sang wrote: > Hi Dragan, > >> 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. > > Mileages, I guess. I like temporary printouts for temporary debug > sessions. This way the upstream source code stays slim. In my > experience > with I2C over the years, debugging happens with developers anyhow. > Logfiles from users which help developers create patches are very rare. > And those users are usually capable enough to add debug patches. > Given these experiences (which may be different in other subsystems), I > don't see why we should carry the bloat. Yup, adding some printk()s while debugging is pretty much inevitable, and having full debugging available would add a lot of code, regardless of the subsystem. > That said, I'll leave the final decision to the driver maintainers. Agreed. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel