<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/char/rocket.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-11-16T17:30:24Z</updated>
<entry>
<title>Char: rocket, fix dynamic_dev tty</title>
<updated>2007-11-16T17:30:24Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2007-10-18T10:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76d41df34060a0e464a4e451f00610fd816c030e'/>
<id>urn:sha1:76d41df34060a0e464a4e451f00610fd816c030e</id>
<content type='text'>
patch ac6aec2f5683588361ab408cb3346b08c66bdfbe in mainline.

- register_device unconditionally (non-pci dependent) to have also isa
  devices in /dev
- unregister devices on module removal
- don't set TTY_DRIVER_DYNAMIC_DEV twice (removed the one dependent on some
  macro)

This is the substantial part of the patch and the previous point is for
not checking which devices to unregister and which not (simply register
and unregister all found no matter on which bus they are plugged).


Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Ferenc Wagner &lt;wferi@niif.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>some kmalloc/memset -&gt;kzalloc (tree wide)</title>
<updated>2007-07-19T17:04:50Z</updated>
<author>
<name>Yoann Padioleau</name>
</author>
<published>2007-07-19T08:49:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd00cc486ab1c17049a535413d1751ef3482141c'/>
<id>urn:sha1:dd00cc486ab1c17049a535413d1751ef3482141c</id>
<content type='text'>
Transform some calls to kmalloc/memset to a single kzalloc (or kcalloc).

Here is a short excerpt of the semantic patch performing
this transformation:

@@
type T2;
expression x;
identifier f,fld;
expression E;
expression E1,E2;
expression e1,e2,e3,y;
statement S;
@@

 x =
- kmalloc
+ kzalloc
  (E1,E2)
  ...  when != \(x-&gt;fld=E;\|y=f(...,x,...);\|f(...,x,...);\|x=E;\|while(...) S\|for(e1;e2;e3) S\)
- memset((T2)x,0,E1);

@@
expression E1,E2,E3;
@@

- kzalloc(E1 * E2,E3)
+ kcalloc(E1,E2,E3)

[akpm@linux-foundation.org: get kcalloc args the right way around]
Signed-off-by: Yoann Padioleau &lt;padator@wanadoo.fr&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Acked-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Bryan Wu &lt;bryan.wu@analog.com&gt;
Acked-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Dave Airlie &lt;airlied@linux.ie&gt;
Acked-by: Roland Dreier &lt;rolandd@cisco.com&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
Acked-by: Pierre Ossman &lt;drzeus-list@drzeus.cx&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Acked-by: Greg KH &lt;greg@kroah.com&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Cc: "Antonino A. Daplas" &lt;adaplas@pol.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rocket.c: fix unchecked mutex_lock_interruptible()</title>
<updated>2007-07-16T16:05:43Z</updated>
<author>
<name>Satyam Sharma</name>
</author>
<published>2007-07-16T06:40:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e3e8d91fee56e1ab598b265466dc38033f1b915'/>
<id>urn:sha1:1e3e8d91fee56e1ab598b265466dc38033f1b915</id>
<content type='text'>
Check the return of mutex_lock_interruptible() in drivers/char/rocket.c and
return ERESTARTSYS if we were interrupted.

Signed-off-by: Satyam Sharma &lt;satyam.sharma@gmail.com&gt;
Cc: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Kill unused sesssion and group values in rocket driver</title>
<updated>2007-05-11T15:29:36Z</updated>
<author>
<name>Sukadev Bhattiprolu</name>
</author>
<published>2007-05-11T05:23:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93ba0881176ace057bc3111c8bdd717a23cb75ed'/>
<id>urn:sha1:93ba0881176ace057bc3111c8bdd717a23cb75ed</id>
<content type='text'>
The process_session() and process_group() values are not really used by the
driver.

Signed-off-by: Sukadev Bhattiprolu &lt;sukadev@us.ibm.com&gt;
Cc: Cedric Le Goater &lt;clg@fr.ibm.com&gt;
Cc: Dave Hansen &lt;haveblue@us.ibm.com&gt;
Cc: Serge Hallyn &lt;serue@us.ibm.com&gt;
Cc: &lt;containers@lists.osdl.org&gt;
Cc: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>use mutex instead of semaphore in RocketPort driver</title>
<updated>2007-05-08T18:15:15Z</updated>
<author>
<name>Matthias Kaehlcke</name>
</author>
<published>2007-05-08T07:32:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69f545ea6aa9cf0a1b2e31b287e17f4cd9eb6d93'/>
<id>urn:sha1:69f545ea6aa9cf0a1b2e31b287e17f4cd9eb6d93</id>
<content type='text'>
The RocketPort driver uses a semaphore as mutex.  Use the mutex API instead of
the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke &lt;matthias.kaehlcke@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/char: use __set_current_state()</title>
<updated>2007-05-08T18:15:13Z</updated>
<author>
<name>Milind Arun Choudhary</name>
</author>
<published>2007-05-08T07:30:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc0a8fbb7ce00f65dc337dd91389b7151f44ed30'/>
<id>urn:sha1:cc0a8fbb7ce00f65dc337dd91389b7151f44ed30</id>
<content type='text'>
use __set_current_state(TASK_*) instead of current-&gt;state = TASK_*,

Signed-off-by: Milind Arun Choudhary &lt;milindchoudhary@gmail.com&gt;
Cc: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Char: rocket, add MODULE_DEVICE_TABLE</title>
<updated>2007-05-08T18:15:04Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2007-05-08T07:27:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d5916d3e0e1cff2e9ecf7fc2d191a2cf2146bd5'/>
<id>urn:sha1:8d5916d3e0e1cff2e9ecf7fc2d191a2cf2146bd5</id>
<content type='text'>
rocket, add MODULE_DEVICE_TABLE

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>rocket: remove modversions include</title>
<updated>2007-05-08T18:15:02Z</updated>
<author>
<name>Robert P. J. Day</name>
</author>
<published>2007-05-08T07:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd436afd6ef36d2c31d216e0e6e6c6c35fa13907'/>
<id>urn:sha1:cd436afd6ef36d2c31d216e0e6e6c6c35fa13907</id>
<content type='text'>
It misspelled "MODVERSIONS" preprocessor variable with "CONFIG_MODVERSIONS".
Just kill it all.

Signed-off-by: Robert P. J. Day &lt;rpjday@mindspring.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Char: timers cleanup</title>
<updated>2007-02-12T17:48:30Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2007-02-12T08:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40565f1962c5be9b9e285e05af01ab7771534868'/>
<id>urn:sha1:40565f1962c5be9b9e285e05af01ab7771534868</id>
<content type='text'>
- Use timer macros to set function and data members and to modify
  expiration time.
- Use DEFINE_TIMER for global timers and do not init them at run-time in
  these cases.
- del_timer_sync is common in most cases -- we want to wait for timer
  function if it's still running.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Dave Airlie &lt;airlied@linux.ie&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Cc: Alessandro Zummo &lt;a.zummo@towertech.it&gt;
Cc: Paul Fulghum &lt;paulkf@microgate.com&gt;
Cc: Kylene Jo Hall &lt;kjhall@us.ibm.com&gt;
Cc: Wim Van Sebroeck &lt;wim@iguana.be&gt;
Acked-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;	(Input bits)
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Char: tty_wakeup cleanup</title>
<updated>2007-02-11T18:51:26Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2007-02-10T09:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b963a8441cb95999c97bea379607071a869c65f0'/>
<id>urn:sha1:b963a8441cb95999c97bea379607071a869c65f0</id>
<content type='text'>
tty_wakeup cleanup

- remove wake_up_interruptible(&amp;tty-&gt;write_wait) surrounding
  tty_wakup(tty);
- substitute tty-&gt;ldisc.write_wakeup(tty) + wake_up() by tty_wakeup(tty);

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Acked-by: Tilman Schmidt &lt;tilman@imap.cc&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
