public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] TTY: disable debugging warning
@ 2013-02-27 21:30 Jiri Slaby
  2013-02-27 21:42 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2013-02-27 21:30 UTC (permalink / raw)
  To: gregkh; +Cc: Daniel Mack, Larry Finger, jirislaby, linux-kernel

We added a warning to flush_to_ldisc to report cases when it is called
with a NULL tty. It was for debugging purposes and it lead to a
patchset from Peter Hurley. The patchset however did not make it to
3.9, so disable the warning now to not disturb people.

We can re-add it when the series is in and we are hunting for another
bugs.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/tty/tty_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
index bb11993..578aa75 100644
--- a/drivers/tty/tty_buffer.c
+++ b/drivers/tty/tty_buffer.c
@@ -425,7 +425,7 @@ static void flush_to_ldisc(struct work_struct *work)
 	struct tty_ldisc *disc;
 
 	tty = port->itty;
-	if (WARN_RATELIMIT(tty == NULL, "tty is NULL\n"))
+	if (tty == NULL)
 		return;
 
 	disc = tty_ldisc_ref(tty);
-- 
1.8.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] TTY: disable debugging warning
  2013-02-27 21:30 [PATCH] TTY: disable debugging warning Jiri Slaby
@ 2013-02-27 21:42 ` Greg KH
  2013-02-27 21:48   ` Jiri Slaby
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2013-02-27 21:42 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Daniel Mack, Larry Finger, jirislaby, linux-kernel

On Wed, Feb 27, 2013 at 10:30:24PM +0100, Jiri Slaby wrote:
> We added a warning to flush_to_ldisc to report cases when it is called
> with a NULL tty. It was for debugging purposes and it lead to a
> patchset from Peter Hurley. The patchset however did not make it to
> 3.9, so disable the warning now to not disturb people.
> 
> We can re-add it when the series is in and we are hunting for another
> bugs.
> 
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> ---
>  drivers/tty/tty_buffer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, I'll queue this up for 3.9-final, but does it also need to go
into 3.8?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] TTY: disable debugging warning
  2013-02-27 21:42 ` Greg KH
@ 2013-02-27 21:48   ` Jiri Slaby
  2013-02-27 21:55     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2013-02-27 21:48 UTC (permalink / raw)
  To: Greg KH; +Cc: Daniel Mack, Larry Finger, jirislaby, linux-kernel

On 02/27/2013 10:42 PM, Greg KH wrote:
> On Wed, Feb 27, 2013 at 10:30:24PM +0100, Jiri Slaby wrote:
>> We added a warning to flush_to_ldisc to report cases when it is called
>> with a NULL tty. It was for debugging purposes and it lead to a
>> patchset from Peter Hurley. The patchset however did not make it to
>> 3.9, so disable the warning now to not disturb people.
>>
>> We can re-add it when the series is in and we are hunting for another
>> bugs.
>>
>> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
>> ---
>>  drivers/tty/tty_buffer.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Thanks, I'll queue this up for 3.9-final, but does it also need to go
> into 3.8?

That's a question... In 3.8 it happened too, but very seldomly. Read:
only triggerable by trinity fuzz tester after hours of fuzzing. But
yeah, let's disable it there too so that people won't complain.

thanks,
-- 
js
suse labs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] TTY: disable debugging warning
  2013-02-27 21:48   ` Jiri Slaby
@ 2013-02-27 21:55     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2013-02-27 21:55 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Daniel Mack, Larry Finger, jirislaby, linux-kernel

On Wed, Feb 27, 2013 at 10:48:13PM +0100, Jiri Slaby wrote:
> On 02/27/2013 10:42 PM, Greg KH wrote:
> > On Wed, Feb 27, 2013 at 10:30:24PM +0100, Jiri Slaby wrote:
> >> We added a warning to flush_to_ldisc to report cases when it is called
> >> with a NULL tty. It was for debugging purposes and it lead to a
> >> patchset from Peter Hurley. The patchset however did not make it to
> >> 3.9, so disable the warning now to not disturb people.
> >>
> >> We can re-add it when the series is in and we are hunting for another
> >> bugs.
> >>
> >> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> >> ---
> >>  drivers/tty/tty_buffer.c | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > Thanks, I'll queue this up for 3.9-final, but does it also need to go
> > into 3.8?
> 
> That's a question... In 3.8 it happened too, but very seldomly. Read:
> only triggerable by trinity fuzz tester after hours of fuzzing. But
> yeah, let's disable it there too so that people won't complain.

Ok, I'll queue it up for the stable release then, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-27 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-27 21:30 [PATCH] TTY: disable debugging warning Jiri Slaby
2013-02-27 21:42 ` Greg KH
2013-02-27 21:48   ` Jiri Slaby
2013-02-27 21:55     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox