From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "André Draszik" <andre.draszik@linaro.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Jiri Slaby <jirislaby@kernel.org>,
Peter Griffin <peter.griffin@linaro.org>,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Will McVicker <willmcvicker@google.com>,
kernel-team@android.com, linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-serial@vger.kernel.org
Subject: Re: [PATCH 0/2] tty: serial: samsung_tty: simple cleanups
Date: Wed, 7 Aug 2024 13:09:52 +0200 [thread overview]
Message-ID: <2024080714-spongy-wannabe-7a9e@gregkh> (raw)
In-Reply-To: <20240806-samsung-tty-cleanup-v1-0-a68d3abf31fe@linaro.org>
On Tue, Aug 06, 2024 at 04:29:44PM +0100, André Draszik wrote:
> While looking through the samsung tty driver, I've spotted a few things that
> can be simplified by removing unused function arguments and by avoiding some
> duplicated variables and casting.
>
> There are no functional changes here.
>
> Signed-off-by: André Draszik <andre.draszik@linaro.org>
> ---
> André Draszik (2):
> tty: serial: samsung_tty: drop unused argument to irq handlers
> tty: serial: samsung_tty: cast the interrupt's void *id just once
This series blows up the build for me, are you sure you tested it?
drivers/tty/serial/samsung_tty.c: In function ‘s3c64xx_serial_handle_irq’:
drivers/tty/serial/samsung_tty.c:948:45: error: passing argument 1 of ‘s3c24xx_serial_rx_irq’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
948 | ret = s3c24xx_serial_rx_irq(ourport);
| ^~~~~~~
drivers/tty/serial/samsung_tty.c:856:68: note: expected ‘struct s3c24xx_uart_port *’ but argument is of type ‘const struct s3c24xx_uart_port *’
And so on...
next prev parent reply other threads:[~2024-08-07 11:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 15:29 [PATCH 0/2] tty: serial: samsung_tty: simple cleanups André Draszik
2024-08-06 15:29 ` [PATCH 1/2] tty: serial: samsung_tty: drop unused argument to irq handlers André Draszik
2024-08-07 10:49 ` Tudor Ambarus
2024-08-06 15:29 ` [PATCH 2/2] tty: serial: samsung_tty: cast the interrupt's void *id just once André Draszik
2024-08-07 10:49 ` Tudor Ambarus
2024-08-09 7:01 ` kernel test robot
2024-08-09 7:21 ` kernel test robot
2024-08-07 11:09 ` Greg Kroah-Hartman [this message]
2024-08-07 11:17 ` [PATCH 0/2] tty: serial: samsung_tty: simple cleanups André Draszik
2024-08-07 12:00 ` André Draszik
2024-08-07 13:53 ` Tudor Ambarus
2024-08-07 13:58 ` André Draszik
2024-08-08 7:23 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2024080714-spongy-wannabe-7a9e@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=jirislaby@kernel.org \
--cc=kernel-team@android.com \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=tudor.ambarus@linaro.org \
--cc=willmcvicker@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox