From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Slaby Date: Thu, 16 Aug 2012 13:56:30 +0000 Subject: Re: [patch] TTY: tty_alloc_driver() returns error pointers Message-Id: <502CFC0E.9020907@suse.cz> List-Id: References: <20120816131656.GB23279@elgon.mountain> In-Reply-To: <20120816131656.GB23279@elgon.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On 08/16/2012 03:16 PM, Dan Carpenter wrote: > We changed these from alloc_tty_driver() to tty_alloc_driver() so the > error handling needs to modified to check for IS_ERR() instead of NULL. > > Signed-off-by: Dan Carpenter Shame. Acked-by: Jiri Slaby thanks, -- js suse labs