Re: [RFC PATCH -next] tty: serial: add panic serial helper

From: Greg KH
Date: Wed May 17 2023 - 07:58:05 EST


On Wed, May 17, 2023 at 06:14:03PM +0800, Hongyu Xie wrote:
> --- /dev/null
> +++ b/drivers/tty/serial/panic_serial_helper.h
> @@ -0,0 +1,12 @@
> +/* SPDX-License-Identifier: GPL
> + *
> + * panic_serial_helper.h Debug through uart when panic.
> + *
> + * Copyright (C) 2023 Xie Hongyu <xiehongyu1@xxxxxxxxxx>
> + *
> + * Inspired by kgdboc.
> + */
> +#ifndef __PANIC_SERIAL_HELPER_H
> +#define __PANIC_SERIAL_HELPER_H
> +/*TODO*/
> +#endif /* __PANIC_SERIAL_HELPER_H */

A whole file that does nothing?

confused,

greg k-h