Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp642966rdb; Tue, 16 Jan 2024 11:06:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbXMYJ5MMuctw6z6ob2pkHQ9/YvDdaxyr94zaoyQ7z5nZ7nv+YvlELMDlEN7smwbXQRXTN X-Received: by 2002:aa7:da08:0:b0:554:2ab8:cad2 with SMTP id r8-20020aa7da08000000b005542ab8cad2mr3495395eds.62.1705431991756; Tue, 16 Jan 2024 11:06:31 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h2-20020a0564020e8200b00557039aa169si5352726eda.76.2024.01.16.11.06.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 11:06:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27721-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=w9zb9cRi; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-27721-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27721-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4CEC41F251FE for ; Tue, 16 Jan 2024 18:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13E781D529; Tue, 16 Jan 2024 18:58:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="w9zb9cRi" Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E13D91D527 for ; Tue, 16 Jan 2024 18:58:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705431513; cv=none; b=k/K0AHrTimJkupgKvtorJxNU+aFM2bD9efFf8K3JEVNzlwSNAX3RZKGF26cbmoo1oSmQYWECrKUQchvk6g83Wda7ye9PWqH/dYOd66gO7D8nCRPa2pJByJwQ6IyKPG8SWxiC2OxJGJVf2G3HUpkM5L5vIDkD7MlOtC00oh2jc7Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705431513; c=relaxed/simple; bh=1jSYDldNul1j+TFKQiGTnHjckSElbNdeSAqEGrBnCdU=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version: References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc: Content-Type:Content-Transfer-Encoding; b=IymA19FOd3gd1o3SGd08btGdXeJvQsWp8zSP+3kemIjO3V9xJaXsT8inlg1tK3uv78cpLh0j+6uPJgKqibGdkcpqpQuu1bQWsLBQDJLX9n5+eBndKFkKmGICxhT5l696fkiHi4TAXuWP0MjWH3XYjUgBxOsgziJDhGRLlgRT57Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=w9zb9cRi; arc=none smtp.client-ip=209.85.216.46 Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-28e73ac4cceso741510a91.1 for ; Tue, 16 Jan 2024 10:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705431511; x=1706036311; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=2oCdAkKnavoOvVi1SZjHevpM3/FRNgveC7ge77+X6CM=; b=w9zb9cRi71lygKp+HSDf4iWagK+HZnSC9uTpCMtXN03+m8mN381ZitBODRuoK4Pp7Q f8lr8o3MUDBt3g2Cvloc/P2gDLx1BxThKn55KIVl7AYiNzptWmLMrRa/wn/D/MuMrPEu dyrrqtUJmecrM93Fc68+UlzOCD33A5fSQCPAZ5MfDzsM9/zwppWe0ZsDgLgmbgh8w6qW ek1zBAI74xbYxWi7zeMLUQhNJ72LoVAi7EU+Qk3rlaDDMmNPlt7z/lSAfZB4hPJa16xy p88yXV/WULa2v8y1DL2p7WsW+4v4JVLGxSt2FoMEYUcEDZYF0LBQeTdgwhAk9Ti7HK8L k56A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705431511; x=1706036311; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2oCdAkKnavoOvVi1SZjHevpM3/FRNgveC7ge77+X6CM=; b=p+0unYJOmDiDumLIUepNmTcXtGHytUkwxdpTPlMzIj0nTKpxYQBxFcNmojSYWYjH+7 +/cexWaMeVWRN4ejYX8J5nPSHIBBr/AKsoPyLozPwIiLMqe44JG46abJ8PVTnyxC6xpL tWO0C3H+0LrE7EjKlPcSmGVdLFahMUiXRUb/0VMDhngj6nQILg6ebXsweejfC77Q9rCL pDNrDBn/zl9XmUnSBiL7ErU32wwWoUeNhRxP5NeCNOXvZ41CdwxZPHydoYAuOcpxWkqp RMo30jfswaKW1D5EvBjvsGYRkdr+hiv5aPRWCJhJwFCK5TCmXVfU2kqs5VSYa3XWGLSL FnzA== X-Gm-Message-State: AOJu0YxFIpZAkaiMa1tyO028E2Nq/iftpr8MG7xLbeE3RfODeEIi9/JL hJPfOdjO3I3iNDmgn2uMZdj+63TyVW7Xdvt50q6rKmPHpJNnJw== X-Received: by 2002:a17:90b:a10:b0:28e:81a6:f92f with SMTP id gg16-20020a17090b0a1000b0028e81a6f92fmr815117pjb.82.1705431511355; Tue, 16 Jan 2024 10:58:31 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240110102102.61587-1-tudor.ambarus@linaro.org> <20240110102102.61587-16-tudor.ambarus@linaro.org> In-Reply-To: <20240110102102.61587-16-tudor.ambarus@linaro.org> From: Sam Protsenko Date: Tue, 16 Jan 2024 12:58:20 -0600 Message-ID: Subject: Re: [PATCH 15/18] tty: serial: samsung: change return type for s3c24xx_serial_rx_fifocnt() To: Tudor Ambarus Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 10, 2024 at 4:25=E2=80=AFAM Tudor Ambarus wrote: > > Change the return type of the s3c24xx_serial_rx_fifocnt() method to > ``unsigned int`` as the method only returns the fifo size and does not > handle error codes. > > Signed-off-by: Tudor Ambarus > --- Reviewed-by: Sam Protsenko > drivers/tty/serial/samsung_tty.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsun= g_tty.c > index 37c0ba2a122c..436739cf9225 100644 > --- a/drivers/tty/serial/samsung_tty.c > +++ b/drivers/tty/serial/samsung_tty.c > @@ -590,8 +590,8 @@ static inline const struct s3c2410_uartcfg > return ourport->cfg; > } > > -static int s3c24xx_serial_rx_fifocnt(const struct s3c24xx_uart_port *our= port, > - u32 ufstat) > +static unsigned int > +s3c24xx_serial_rx_fifocnt(const struct s3c24xx_uart_port *ourport, u32 u= fstat) > { > const struct s3c24xx_uart_info *info =3D ourport->info; > > -- > 2.43.0.472.g3155946c3a-goog > >