public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: daniel.lezcano@linaro.org, tglx@linutronix.de, wens@csie.org,
	samuel@sholland.org, Zhou jie <zhoujie@nfschina.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, kernel@nfschina.com,
	Zhou jie <zhoujie@nfschina.com>
Subject: Re: [PATCH] drivers: remove unnecessary (void*) conversions.
Date: Sat, 02 Jul 2022 23:22:20 +0200	[thread overview]
Message-ID: <2589523.X9hSmTKtgW@jernej-laptop> (raw)
In-Reply-To: <20220629062658.56466-1-zhoujie@nfschina.com>

Dne sreda, 29. junij 2022 ob 08:26:58 CEST je Zhou jie napisal(a):
> remove unnecessary void* type casting.
> 
> Signed-off-by: Zhou jie <zhoujie@nfschina.com>

Subject line should have "clocksource/drivers/sun4i:" prefix instead of 
"drivers:"

Best regards,
Jernej

> ---
>  drivers/clocksource/timer-sun4i.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clocksource/timer-sun4i.c
> b/drivers/clocksource/timer-sun4i.c index 0ba8155b8287..6fe71f95e2c2 100644
> --- a/drivers/clocksource/timer-sun4i.c
> +++ b/drivers/clocksource/timer-sun4i.c
> @@ -131,7 +131,7 @@ static void sun4i_timer_clear_interrupt(void __iomem
> *base)
> 
>  static irqreturn_t sun4i_timer_interrupt(int irq, void *dev_id)
>  {
> -	struct clock_event_device *evt = (struct clock_event_device 
*)dev_id;
> +	struct clock_event_device *evt = dev_id;
>  	struct timer_of *to = to_timer_of(evt);
> 
>  	sun4i_timer_clear_interrupt(timer_of_base(to));





_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2022-07-02 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  6:26 [PATCH] drivers: remove unnecessary (void*) conversions Zhou jie
2022-07-02 21:22 ` Jernej Škrabec [this message]

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=2589523.X9hSmTKtgW@jernej-laptop \
    --to=jernej.skrabec@gmail.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=kernel@nfschina.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=samuel@sholland.org \
    --cc=tglx@linutronix.de \
    --cc=wens@csie.org \
    --cc=zhoujie@nfschina.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