Re: [PATCH] paride: Mark PARIDE as deprecated, point to PATA_PARPORT

Sergey Shtylyov
2023-01-22T19:11:56Z

Hello!

On 1/22/23 9:14 PM, Ondrej Zary wrote:

> Add Kconfig and runtime deprecation warnings to PARIDE, pointing users
> to PATA_PARPORT.
>
> Signed-off-by: Ondrej Zary <linux@zary.sk>
[...]
> diff --git a/drivers/block/paride/paride.c b/drivers/block/paride/paride.c
> index 0e287993b778..010daf605728 100644
> --- a/drivers/block/paride/paride.c
> +++ b/drivers/block/paride/paride.c
> @@ -452,6 +452,8 @@ void *pi_register_driver(char *name)
> struct parport_driver *parp_drv;
> int ret;
>
> + printk(KERN_WARNING "PARIDE is deprecated. Use PATA_PARPORT instead.\n");

Why not pr_warn()?

[...]

MBR, Sergey