Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp540970lqb; Wed, 17 Apr 2024 04:18:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV30Dj+JUNyuq5Cu7aekRudsD1RbXktV374D5Z0XidPZEQMsLoDPrbZ1Xt6l1z5kTvNPlQfIvb/x3D1tl6oe8fNc7rYO9M4G4aIYj5MVg== X-Google-Smtp-Source: AGHT+IHBsPD717ts3hwQ15JDW5eWIAOAD4igJ8YYwwxvRChC5b/vsEr+9EDBJcbTLiI1RHlV69ml X-Received: by 2002:a05:6a00:1312:b0:6ea:d7b6:f4b4 with SMTP id j18-20020a056a00131200b006ead7b6f4b4mr16421230pfu.21.1713352722517; Wed, 17 Apr 2024 04:18:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713352722; cv=pass; d=google.com; s=arc-20160816; b=FVH0i0FApYWcKNf4FCPO66XlLiE2iJsYBt7cE2Jyc5J+6EDMhVYyOJjnnNAVvCdylr Kxw9hUgeEU/WEFMaCTi2coU6O2NgeEVb9hXYe2ubAKUggKrMNGwlrX/qPkCLcDgEFtTU Nl8P9awDfotC8x2ppC6I7VSzsiFK05j6Zd5ZvdBgLk+X6vkSu34cT0Enw4SSrGKUXT9c jZY4xot5wyM5naix48GDrUF45Vo4Icrl0/46kfA8l6YqfuB8Gheyqklp9jeEzN/Lzzpn WJNJUvsWS+L5f6fbeE8PDY8jwo/w8ShSu4aHfwmmJ5gbpe7f9NuP4dBlNtBjU2EgBoIp 30xQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wH4yin3Q0QCtYYTGSUHsOwcj+v8IDjzFe3nvhYmeYUU=; fh=WkkzK+CBKtEeOgyFwsMpc44oFba90CuMF7VXS4nAIdI=; b=t3dLz+cuvejygMBSwMVhwZt5ep1PYhTdQ8mZWcGIoAzSnXvQm2FaNz17dHcm0i+hiG f7rV3mVvkwbXWBZ5P2IK9yabbQPf3MeuBfuDtoP/Th3ixcjOjfGadCbBXmTbrCJXVvnW 7eYMW1GDpxT0FJzrTxm0BspC1E7HFkJc7kaHgsqhqeVjC8ZVKU68DQjL9kj8NCnJFyrw al2qfrr9vSZOmE035L75u9ceTqPdTp0mewcp6Uuy7rx6diTTW0dVe+FsbECay2r3T4CT RMVMfUsJDSXp2XShNpKPwMB+luHpNiF0dj47ZHOf5MjL/IKgY18CZaKnKsuSpTNM7Ud8 R7zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jl2tWzvt; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n7-20020aa79847000000b006ead14a16dcsi11454294pfq.17.2024.04.17.04.18.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 04:18:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jl2tWzvt; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148391-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 334A3282909 for ; Wed, 17 Apr 2024 11:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5425E13C8FE; Wed, 17 Apr 2024 11:18:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jl2tWzvt" 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.subspace.kernel.org (Postfix) with ESMTPS id 7CDAD13C80B; Wed, 17 Apr 2024 11:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713352716; cv=none; b=fLPe2izSDo5oFmZo3K5HUZELzobDGqPrAEYYyp7agRruYbWQJZjiTrHAwZL0ELSeEcSmHu7ZDQrXbyKo4I6Wje0n7YhF4QRKcVn+KFA+dsJ7xYvYFgCeY+c/QPd282GfYqxnJETNyRxSJgvNqAnnIgz4LxFiXZrQsP4twACa32c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713352716; c=relaxed/simple; bh=IZUgiSBdQAoQRubBCT3/2bhNxeEj1vM1SZLMwCmRNlk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RUoenf6x//URUvgl0/utzhf9Zq3jG8vb9bHE51tUwXGep7I/fBJDcWRRRBVWAoMjh0JBpdEzGO4K/Yl+eU4WB/J87m+GBtoORa6+AQW+k9TYrla35tR2L9C/DtkYuR5hIsz5+47HqBfK1HexHJa7SDu/pW+QzPhzZ9iUF6x35lY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jl2tWzvt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 921B4C072AA; Wed, 17 Apr 2024 11:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713352716; bh=IZUgiSBdQAoQRubBCT3/2bhNxeEj1vM1SZLMwCmRNlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jl2tWzvtLLhYJalpZ3HzCMpIgbKmpZI78SNAtmX4yBb56A0Il+1sjaMAtFEoz8z4u Cwc/OsdHtaHm3kSTmlGafIeub4CqfdxONCwkEHakH0TpIKV1VvyFDHCiuKdCBLUXLb PTFf3E+SEBvHBXCgWG56vOgdIk46OWnrL7lloKOg= Date: Wed, 17 Apr 2024 13:18:33 +0200 From: Greg Kroah-Hartman To: Parker Newman Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Parker Newman Subject: Re: [PATCH v3 4/8] serial: exar: add optional board_init function Message-ID: <2024041750-register-exterior-087a@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Apr 16, 2024 at 08:55:31AM -0400, Parker Newman wrote: > From: Parker Newman > > - Add an optional "board_init()" function pointer to struct > exar8250_board which is called once during probe prior to setting up > the ports. > > - Fix several "missing identifier name" warnings from checkpatch in > struct exar8250_platform and struct exar8250_board: > > WARNING: function definition argument should also have an > identifier name > > - Fix warning from checkpatch: > WARNING: please, no space before tabs > + * 0^I^I2 ^IMode bit 0$ > > Changes in v3: > - Renamed board_setup to board_init. > - Changed pci_err to dev_err_probe > - Added note above about checkpatch fixes > > Signed-off-by: Parker Newman > --- > drivers/tty/serial/8250/8250_exar.c | 23 +++++++++++++++++------ > 1 file changed, 17 insertions(+), 6 deletions(-) > > diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c > index 388dd60ad23a..cf7900bd2974 100644 > --- a/drivers/tty/serial/8250/8250_exar.c > +++ b/drivers/tty/serial/8250/8250_exar.c > @@ -133,7 +133,7 @@ > * > * MPIO Port Function > * ---- ---- -------- > - * 0 2 Mode bit 0 > + * 0 2 Mode bit 0 This change isn't related to the exar8250_board change, right? Just keep exar8250_board change as one patch, and the coding style warning fixups as one for the very end, after you add all of your new functionality. thanks, greg k-h