Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1501759rdb; Thu, 7 Dec 2023 00:19:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGbFm9zCjvrHqWvwtbhYjTZfoPrKlZV7IbcBy1kk1k2/AccA1OXxsKddQvXyyGzMDPhVX4 X-Received: by 2002:a17:90b:608:b0:286:6cc1:2cac with SMTP id gb8-20020a17090b060800b002866cc12cacmr1977232pjb.54.1701937159895; Thu, 07 Dec 2023 00:19:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701937159; cv=none; d=google.com; s=arc-20160816; b=g+FgqpjgneFwccjzez3fnX/rcm1wZ33mXjUDXAILF0WyJIdpwBuVRAevIAwdCaZiTd EFHHMgG1gbjV+N3tF7tvWYHXyEylNDonm7DH9CJJcIoGouFC7QI+1/mAopA4CpkdY641 53CIRx4bb/oY+XrkF7xAFM3pmjEWA14ZXEPx6dVCRIdSBMEkK4sYUe9eQ2sQg1jHJJwY i7+jCLBfW78ugqyEnZ16AHHkX6fJYwMIWdJpwn33CLJG695VbVutOXZYC1E6x9DFZjbk RyY1mqcD8i8wQJQLgP4KwHhvjqdisJDMENJb0HOQOqchnglb5d9TPbCJH4SgV/8ntnwy 6Ang== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xZCKuL+Y19s36mHwoLvHTwEv3agd/WL8w6V6WuvSwMY=; fh=0dshnrqCOnc63pmrUd+Gbz7GUPjCmY+ItHkM6+Dj2I0=; b=IB5eda44Tik6tOH5Ymh0jXa0QI1Zt+9mhMCYK7ib02KDmsY4jTdIwC1srOVuWBAFWH uWn9Lnu1wVobZCibMTdVByl7e3INmGZ3JaUoDTyAriWJRK/ShPJsrygbYb75vF9LV0s7 lujHk5rnH/UJ45JKLIwa26qyWQ3+B1gFMv7FfT9lukwsb9LUaSryHM9qrghGNDb/fXrH jTtizvV6LIk0SuG9OOoF2CTnLJdnN6j/2GaKpqh6CJZCH7dPKtB1ZxenEPuSW8GXKVKf dTTNKDIn1sqOCC3fnj5IYIpX936vxcaZHUUjxX0vtU6MfwZDtid7EC3ClHWGis2mVjVG DnmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VIFjf6k4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id na6-20020a17090b4c0600b002869d1b1921si691064pjb.31.2023.12.07.00.19.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 00:19:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VIFjf6k4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 54DB9808A975; Thu, 7 Dec 2023 00:19:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378251AbjLGITD (ORCPT + 99 others); Thu, 7 Dec 2023 03:19:03 -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> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 00:19:17 -0800 (PST) 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