[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110106133455.2f6175c6@lxorguk.ukuu.org.uk>
Date: Thu, 6 Jan 2011 13:34:55 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Claudio Scordino <claudio@...dence.eu.com>
Cc: starvik@...s.com, Jesper Nilsson <Jesper.Nilsson@...s.com>,
linux-cris-kernel <linux-cris-kernel@...s.com>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] RS485 on Cris: use global value of TIOCSRS485
> With this patch, TIOCSRS485 gets the same value across all
> architectures, making maintenance and portability of user-level code
> easier.
I don't see why this is worth doing - no application code should ever
hardcode the value.
> + case TIOCSRS485DEPR:
> + {
> + printk(KERN_DEBUG "The use of this ioctl is deprecated. Use TIOCSRS485 instead\n");
> + /* Fall through */
> + }
and letting everyone spew printks is not a good thing.
NAK
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists