[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdUjo_tUu6G6q3ww_UeJxzwtDBieMwFARTAJf4Emhej-YA@mail.gmail.com>
Date: Fri, 1 Dec 2023 10:48:02 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Haoran Liu <liuhaoran14@....com>
Cc: ysato@...rs.sourceforge.jp, dalias@...c.org,
glaubitz@...sik.fu-berlin.de, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [sh/highlander] psw: Add error handling in psw_irq_handler
Hi Haoran,
On Wed, Nov 29, 2023 at 7:38 AM Haoran Liu <liuhaoran14@....com> wrote:
> This patch adds error handling for the platform_get_drvdata call
> within the psw_irq_handler function in
> arch/sh/boards/mach-highlander/psw.c. Previously, the absence of
> error checking could lead to unexpected behavior if
> platform_get_drvdata returned a null pointer.
Can you please tell me how you detected this issue?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists