Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1547001rdb; Thu, 7 Dec 2023 02:10:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYVku/v0XlgbXap0Hqg2HiMVwFCsel1wmTSEmHuv3rjWwf5Nm3k01s4PPxP03f9EVybdhL X-Received: by 2002:a05:6a21:1ca6:b0:18f:97c:9276 with SMTP id sf38-20020a056a211ca600b0018f097c9276mr1665077pzb.91.1701943805415; Thu, 07 Dec 2023 02:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701943805; cv=none; d=google.com; s=arc-20160816; b=x23c2rm2FdFQyFY0VynvoTYLxvu35duZxEcisHQzsc3ZESXed56qPNNqeEL3nwCb2r is02JVa3w28JPX5ZlYs/LHS/2BVk7iG4Vi/JG4S/ikiSUpAArXiMSq44dF/7IbMlkKoT NqJ+JOTl1HJ6C2iBBtpD5YekBQF63LNHpOTp3L07ocpnrP7J8h4DlrC+njZVYLotRSRu /NNKwP25JVbg+XZN3YmNJry7C9C5C/UyVnGQJDsz6XKKqbsROeF34KCr1RDe5G8yvx2l HZEesKjhD1T5cUIGWPyXyTQ9ClfUpzS0rp1L2ox/KSEwCJ6cTLhzqQTSai+/jtvVY/SJ 5sJw== 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=5k+EChZ0zr7NnS7YxXFVeFKOZch8IW13Ld1mvb4p7h8=; fh=IA1F0DBny3ripe/cy63bVIGdmN7lsyZzgRgnva7b4uc=; b=TtguI2zZFO3xtkCo3jYKW2FCUHk3WD3tKyW9dCxVfkGMZiTtLAY9JKIjoBMMvyKco8 vu+8gSoyxOsWmXtSSwwmKJ31EjJHe8gbA3q3yC1+LRbpDx14wf2zXJavWE5rC01WqBZv y4XH69n/fO2UEJB8Et0MavkSJIrR2gf3+xgJBfM55mlzQCJs34Pxt9zix8IIdMuwnt9V DGtFINFfaNF25qKFfKJtMmh/2astj+vWFLPM7aWwpwIiT3hDcMjCCzPe18s8AyHrYZhI 5E4zbco9NsJErpdsWnsQJi+VVmE3bGvZgMNhYLIOHxaGdZjeCbqQPpCW4iVjjZ3JDTGE uDSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ge6SijUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fb19-20020a056a002d9300b006ceb278c885si806883pfb.265.2023.12.07.02.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 02:10:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ge6SijUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D51F6826EE14; Thu, 7 Dec 2023 02:10:02 -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 S1379071AbjLGKJo (ORCPT + 99 others); Thu, 7 Dec 2023 05:09:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378862AbjLGKJl (ORCPT ); Thu, 7 Dec 2023 05:09:41 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49644A4 for ; Thu, 7 Dec 2023 02:09:47 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24870C433C8; Thu, 7 Dec 2023 10:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701943786; bh=mlf+E9uAxcA9DH2IJGNsrr3vRH7MvPzIWWShzXKzrW0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ge6SijUtS4LpfTcbDkYt4hdfhyhH6LxLfzLBBGN0w130qSSsTAyIk+lLkVfpKJdLw Jl/xlWAzKIxRe0GBt4HKzG6tnRFm3IgO+WxIlcR1dFcL2dIxOk7DwH344DOAve4MWB w7tonU+Nf7szhNxH2YJytPPdlrEIPr0ExzRZhA/Y= Date: Thu, 7 Dec 2023 11:09:42 +0100 From: Greg KH To: Johan Hovold 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: <2023120709-revise-retaliate-3796@gregkh> 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: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 02:10:03 -0800 (PST) On Thu, Dec 07, 2023 at 09:19:29AM +0100, Johan Hovold wrote: > 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. Ah, didn't realize this was a staging-only thing, sorry. As that's what I get loads of checkpatch fixes for, I figured it was what everyone should be using :) thanks, greg k-h