lkml.org 
[lkml]   [2007]   [Jul]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDmitry Torokhov <>
SubjectRe: [PATCH] TSDEV - Don't flood dmesg with removal warnings
DateSun, 29 Jul 2007 00:37:36 -0400
Hi Parag,

On Friday 27 July 2007 10:43, Parag Warudkar wrote:
> Ignore my previous whitespace damaged patch. This one should be good.
> 
> tsdev.c warns about scheduled removal each time tsdev_open is called -
> So even for a default boot I get to see the warning 3 times -
> 
> [  340.537078] tsdev (compaq touchscreen emulation) is scheduled for
> removal.
> [  340.537081] See Documentation/feature-removal-schedule.txt for details.
> [  340.550314] tsdev (compaq touchscreen emulation) is scheduled for
> removal.
> [  340.550318] See Documentation/feature-removal-schedule.txt for details.
> [  340.565065] tsdev (compaq touchscreen emulation) is scheduled for
> removal.
> [  340.565068] See Documentation/feature-removal-schedule.txt for details.
> 
> Move the warning to tsdev_init() from tsdev_open so we don't end up
> printing a large string in dmesg everytime tsdev_open is called.
>

The printk was moved per Andrew's request to make it more annoying.
Obviously it is working ;) Do you know what is opening /dev/input/tsX
nodes?

-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-29 04:41    [from the cache]
©2003-2008