<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/s390/char, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-03-04T17:49:22Z</updated>
<entry>
<title>compat: fix compile breakage on s390</title>
<updated>2012-03-04T17:49:22Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2012-02-27T09:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7fce3f2db5913f1fe1fbd4fddd4d3af274098006'/>
<id>urn:sha1:7fce3f2db5913f1fe1fbd4fddd4d3af274098006</id>
<content type='text'>
commit 048cd4e51d24ebf7f3552226d03c769d6ad91658 upstream.

The new is_compat_task() define for the !COMPAT case in
include/linux/compat.h conflicts with a similar define in
arch/s390/include/asm/compat.h.

This is the minimal patch which fixes the build issues.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>keyboard: integer underflow bug</title>
<updated>2011-03-14T21:29:53Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-03T16:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5719ed81492a21fa0ba5b10ba366153f2b49fb3'/>
<id>urn:sha1:d5719ed81492a21fa0ba5b10ba366153f2b49fb3</id>
<content type='text'>
commit b652277b09d3d030cb074cc6a98ba80b34244c03 upstream.

The "ct" variable should be an unsigned int.  Both struct kbdiacrs
-&gt;kb_cnt and struct kbd_data -&gt;accent_table_size are unsigned ints.

Making it signed causes a problem in KBDIACRUC because the user could
set the signed bit and cause a buffer overflow.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[S390] sclp: undo quiesce handler override on resume</title>
<updated>2009-11-13T14:45:03Z</updated>
<author>
<name>Martin Schwidefsky</name>
</author>
<published>2009-11-13T14:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b94c1ed4d8232a452aa9db0f5ac9141d942590f'/>
<id>urn:sha1:8b94c1ed4d8232a452aa9db0f5ac9141d942590f</id>
<content type='text'>
In a system where the ctrl-alt-del init action initiated by signal
quiesce suspends the machine the quiesce handler override for
_machine_restart, _machine_halt and _machine_power_off needs to be
undone, otherwise the override is still present in the resumed
system. The next shutdown would then load the quiesce state psw
instead of performing the correct shutdown action.

Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] monreader: fix use after free bug with suspend/resume</title>
<updated>2009-11-13T14:45:03Z</updated>
<author>
<name>Gerald Schaefer</name>
</author>
<published>2009-11-13T14:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccaf6553963bc6304d5820962a08a4397d0a2dc2'/>
<id>urn:sha1:ccaf6553963bc6304d5820962a08a4397d0a2dc2</id>
<content type='text'>
The monreader device driver doesn't set dev-&gt;driver_data to NULL after
freeing the corresponding data structure. This leads to a use after
free bug in the freeze/thaw suspend/resume functions after the device
has been opened and closed once. Fix this by clearing dev-&gt;driver_data
in the close() function.

Signed-off-by: Gerald Schaefer &lt;gerald.schaefer@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] call home: fix string length handling</title>
<updated>2009-10-29T14:05:12Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2009-10-29T14:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8a79c9ec779168502402a8b834abf8cf38a325a'/>
<id>urn:sha1:e8a79c9ec779168502402a8b834abf8cf38a325a</id>
<content type='text'>
After copying uts-&gt;nodename to the static nodename array the static
version isn't necessarily zero termininated, since the size of the
array is one byte too short.
Afterwards doing strncat(data, nodename, strlen(nodename)); may copy
an arbitrary large amount of bytes.
Fix this by getting rid of the static array and using strncat with
proper length limit.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] call home: fix error handling in init function</title>
<updated>2009-10-29T14:05:12Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2009-10-29T14:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a0fb4c44573759f878fc65f6ddbd46080748f8b'/>
<id>urn:sha1:4a0fb4c44573759f878fc65f6ddbd46080748f8b</id>
<content type='text'>
Fix missing unregister_sysctl_table in case the SCLP doesn't provide
the requested feature. Also simplify the whole error handling while
at it.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] call home: fix local buffer usage in proc handler</title>
<updated>2009-10-29T14:05:12Z</updated>
<author>
<name>Sebastian Ott</name>
</author>
<published>2009-10-29T14:04:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f0b3c33eeed400577b47fab8439ffe6f40aa97a'/>
<id>urn:sha1:3f0b3c33eeed400577b47fab8439ffe6f40aa97a</id>
<content type='text'>
Fix the size of the local buffer and use snprintf to prevent
further miscalculations. Also fix the usage of bitwise vs logic
operations.

Signed-off-by: Sebastian Ott &lt;sebott@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] sclp_vt220 build fix</title>
<updated>2009-10-14T10:43:54Z</updated>
<author>
<name>Michael Holzheu</name>
</author>
<published>2009-10-14T10:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac522b638dcb549f9d33085c6fadea88a5f826ae'/>
<id>urn:sha1:ac522b638dcb549f9d33085c6fadea88a5f826ae</id>
<content type='text'>
Fix this build error:

	next-20091013 randconfig build on s390x build breaks with

drivers/s390/built-in.o:(.data+0x3354): undefined reference to `sclp_vt220_pm_event_fn'

Reported-by: Kamalesh Babulal &lt;kamalesh@linux.vnet.ibm.com&gt;
Signed-off-by: Michael Holzheu &lt;michael.holzheu@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] call home support: fix proc handler</title>
<updated>2009-10-14T10:43:53Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2009-10-14T10:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3acf71fb8daecc8ab8b1371d29d15df0c30a315'/>
<id>urn:sha1:d3acf71fb8daecc8ab8b1371d29d15df0c30a315</id>
<content type='text'>
8d65af78 "sysctl: remove "struct file *" argument of -&gt;proc_handler"
removed the struct file argument from all proc_handlers but didn't
change the call home proc handler (or call home was merged later).

So fix this now.

Cc: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Cc: Hans-Joachim Picht &lt;hans@de.ibm.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] tape390: Fix request queue handling in block driver</title>
<updated>2009-10-14T10:43:52Z</updated>
<author>
<name>Michael Holzheu</name>
</author>
<published>2009-10-14T10:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03cadd36d51c737d7ad6aa21e2524296be6fe57f'/>
<id>urn:sha1:03cadd36d51c737d7ad6aa21e2524296be6fe57f</id>
<content type='text'>
When setting a channel attached tape online under Linux 2.6.31, the

"vol_id" process from udev hangs in sync_page():
 2 sync_page+144 [0x1dfaac]
 3 __wait_on_bit_lock+194 [0x58c23e]
 4 __lock_page+116 [0x1df9dc]
 5 truncate_inode_pages_range+728 [0x1ed7cc]
 6 __blkdev_put+244 [0x25f738]
 7 __fput+300 [0x229c4c]
 8 filp_close+122 [0x225a3a]

The reason for that is an error in the request queue handling. It can
happen that we fetch a request, but do not process it further because
the number of queued requests exceeds TAPEBLOCK_MIN_REQUEUE.
To fix this, we should call blk_peek_request() instead of
blk_fetch_request() in the while condition and fetch the request in
the loop body afterwards.

This bug was introduced with the patch "block: implement and enforce
request peek/start/fetch" (9934c8c04561413609d2bc38c6b9f268cba774a4)

Signed-off-by: Michael Holzheu &lt;holzheu@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
</feed>
