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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44D3DC4167B for ; Thu, 7 Dec 2023 08:19:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378329AbjLGITF (ORCPT ); Thu, 7 Dec 2023 03:19:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378275AbjLGISn (ORCPT ); Thu, 7 Dec 2023 03:18:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C89B11735 for ; Thu, 7 Dec 2023 00:18:41 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0D50C433C8; Thu, 7 Dec 2023 08:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701937121; bh=c1IibyTEeI1rZhj66cRp9B60N7vFGETPlS+Ga10AvM8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VIFjf6k4YcQnN7KNTaegjYJlwtyp/redptAppn34XT9apIriJ4nG3ot52aLD9Dp2P dbWcF8klMd5p07ZmFllcFXdqP+WgFgyAKhvnj2uq3dGKGoaahZg9d09OBcASofm3VR zg3L4YD6iTxFD2nFXGazaz8wliaww7T7lTmg+rSvF2qh0AAeH6e+uENFazzZ/khpdu S8LB+whRi3Kqzx9ZD/qPZeQsBzXB5F1/8JXZxH8f1TqFf5bwSXTfR7ZjHrydUAkHQI ozlggiQIZK2sWD1ckysDrUOjgtafuCaluIAhLlRRSEwWzax6ndTg3OLfIyNEQJCo1o 817XYArcD+Pnw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rB9bV-0007kD-2e; Thu, 07 Dec 2023 09:19:30 +0100 Date: Thu, 7 Dec 2023 09:19:29 +0100 From: Johan Hovold To: Greg KH Cc: "Jiri Slaby (SUSE)" , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH 23/27] tty: serdev: convert to u8 and size_t Message-ID: References: <20231206073712.17776-1-jirislaby@kernel.org> <20231206073712.17776-24-jirislaby@kernel.org> <2023120736-bullpen-edgy-3c02@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023120736-bullpen-edgy-3c02@gregkh> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 07, 2023 at 10:47:18AM +0900, Greg Kroah-Hartman wrote: > On Wed, Dec 06, 2023 at 09:09:46AM +0100, Johan Hovold wrote: > > On Wed, Dec 06, 2023 at 08:37:08AM +0100, Jiri Slaby wrote: > > > diff --git a/drivers/gnss/serial.c b/drivers/gnss/serial.c > > > index 5d8e9bfb24d0..baa956494e79 100644 > > > --- a/drivers/gnss/serial.c > > > +++ b/drivers/gnss/serial.c > > > @@ -80,8 +80,8 @@ static const struct gnss_operations gnss_serial_gnss_ops = { > > > .write_raw = gnss_serial_write_raw, > > > }; > > > > > > -static int gnss_serial_receive_buf(struct serdev_device *serdev, > > > - const unsigned char *buf, size_t count) > > > +static ssize_t gnss_serial_receive_buf(struct serdev_device *serdev, > > > + const u8 *buf, size_t count) > > The gnss subsystem consistently use tabs-only for indentation of > > continuation lines so please don't change the indentation for these > > files. > > That's going to drive checkpatch.pl crazy, please don't inist on it as > that is not going to work well over time as we would all have to > remember that just for this one subsystem :( Open-parenthesis alignment is not part of the coding standard and is hidden behind the checkpatch.pl --strict option along with other (often excessive) checks that are not generally agreed upon. Only staging and networking enable that option by default and I think checkpatch.pl handles that transparently. So this should not be an issue unless you're trying to enforce the contentious checks tree wide (i.e. just drop the --strict option). That said, as this only affects one function (the other one happened to align while still only using tabs) I can fix that up later unless Jiri is resending for some other reason. Johan