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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 516F6C54E58 for ; Mon, 25 Mar 2024 10:40:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 1848CC43390; Mon, 25 Mar 2024 10:40:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DF6FC433F1; Mon, 25 Mar 2024 10:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711363203; bh=1kjdqR5hsduSp6QR7U3kFDUoSJ+njpkloL6RmW5726U=; h=Date:From:To:List-Id:Cc:Subject:In-Reply-To:References:From; b=FwkU4T1u/wN6jSTzwB12KysXpLxkLz1uLie4n666O/NjfsK84S6UDZGZxp71WAkuf ZmIbq2TtIxNW3y+YBAZ2xlyEr3m8bT2k7GZdfAqu0Z1pSBjUvXEdIYgpl4MdvRpUH/ ViuWHmeT8AdIsJkTIC9zAfcYDRgMU3GHAqiHuMvDTiSHyzRljiFgfQHDzr7iqqyxxM L5ZvJ3qJP8njs4njJmwAHQaDQMb0WSB23GCilNdZmyvH6V+G++2nBwVqhmP6wkdzMz hYuDZhxuBkJkO2nStrgej1SHqp/xv7bMMrVFXTibbokY2Tx1nq3ielOAhfGfKpLaAe vRlgZyJSiI/Cw== Date: Mon, 25 Mar 2024 11:39:57 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Andy Shevchenko List-Id: Cc: Arnd Bergmann , Gregory CLEMENT , soc@kernel.org, arm@kernel.org, Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , linux-gpio@vger.kernel.org, Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: Re: [PATCH v5 02/11] platform: cznic: Add preliminary support for Turris Omnia MCU Message-ID: <20240325113957.7a83e093@dellmb> In-Reply-To: References: <20240323164359.21642-1-kabel@kernel.org> <20240323164359.21642-3-kabel@kernel.org> <20240324160408.77c8574e@thinkpad> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.39; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 24 Mar 2024 17:30:39 +0200 Andy Shevchenko wrote: > On Sun, Mar 24, 2024 at 5:04=E2=80=AFPM Marek Beh=C3=BAn wrote: > > > > Hi Andy, > > > > thank you very much for the review. I have some notes and some > > questions, see below. =20 >=20 > Btw, I'll look into other patches next week. Thx. ... > > > > There are still some people wanting only 80 columns, and the whole > > driver is written that way. =20 >=20 > Hmm... Is it still a hard limit for drivers/platform/cznic for the _new_ = code? I don't think so, but I personally would also prefer leaving this at 80 columns. Is this a problem? > > I considered it a helper function that should be defined in the header > > file, like the rest of the cmd helpers in this file. If you disagree, I > > will put it into the -base.c file. =20 >=20 > I don't see the technical justification to hold it in the *.h rather > than *.c. To me this one is big enough in C and likely in assembly to > be copied to each user. Besides that aspect, it slows down the build a > lot (mostly due to i2c.h inclusion which otherwise is not needed). OK, I moved it into -base.c. Marek