[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <89c5f007-3be3-f1d1-f6f3-c5c1923a9f2a@omp.ru>
Date: Sun, 22 Jan 2023 22:11:38 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Ondrej Zary <linux@...y.sk>,
Damien Le Moal <damien.lemoal@...nsource.wdc.com>
CC: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
Tim Waugh <tim@...erelk.net>, <linux-block@...r.kernel.org>,
<linux-parport@...ts.infradead.org>, <linux-ide@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] paride: Mark PARIDE as deprecated, point to PATA_PARPORT
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@...y.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
Powered by blists - more mailing lists