<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/isdn/capi, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-08T17:22:40Z</updated>
<entry>
<title>mount options: fix capifs</title>
<updated>2008-02-08T17:22:40Z</updated>
<author>
<name>Miklos Szeredi</name>
</author>
<published>2008-02-08T12:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e55e212c083f0c51a7d4eccd1746b6dca40ffc41'/>
<id>urn:sha1:e55e212c083f0c51a7d4eccd1746b6dca40ffc41</id>
<content type='text'>
Add a .show_options super operation to capifs.

Use generic_show_options() and save the complete option string in
capifs_remount().

Signed-off-by: Miklos Szeredi &lt;mszeredi@suse.cz&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&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>Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6</title>
<updated>2008-01-25T16:35:13Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2008-01-25T16:34:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df8dc74e8a383eaf2d9b44b80a71ec6f0e52b42e'/>
<id>urn:sha1:df8dc74e8a383eaf2d9b44b80a71ec6f0e52b42e</id>
<content type='text'>
This can be broken down into these major areas:
 - Documentation updates (language translations and fixes, as
   well as kobject and kset documenatation updates.)
 - major kset/kobject/ktype rework and fixes.  This cleans up the
   kset and kobject and ktype relationship and architecture,
   making sense of things now, and good documenation and samples
   are provided for others to use.  Also the attributes for
   kobjects are much easier to handle now.  This cleaned up a LOT
   of code all through the kernel, making kobjects easier to use
   if you want to.
 - struct bus_type has been reworked to now handle the lifetime
   rules properly, as the kobject is properly dynamic.
 - struct driver has also been reworked, and now the lifetime
   issues are resolved.
 - the block subsystem has been converted to use struct device
   now, and not "raw" kobjects.  This patch has been in the -mm
   tree for over a year now, and finally all the issues are
   worked out with it.  Older distros now properly work with new
   kernels, and no userspace updates are needed at all.
 - nozomi driver is added.  This has also been in -mm for a long
   time, and many people have asked for it to go in.  It is now
   in good enough shape to do so.
 - lots of class_device conversions to use struct device instead.
   The tree is almost all cleaned up now, only SCSI and IB is the
   remaining code to fix up...

* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (196 commits)
  Driver core: coding style fixes
  Kobject: fix coding style issues in kobject c files
  Kobject: fix coding style issues in kobject.h
  Driver core: fix coding style issues in device.h
  spi: use class iteration api
  scsi: use class iteration api
  rtc: use class iteration api
  power supply : use class iteration api
  ieee1394: use class iteration api
  Driver Core: add class iteration api
  Driver core: Cleanup get_device_parent() in device_add() and device_move()
  UIO: constify function pointer tables
  Driver Core: constify the name passed to platform_device_register_simple
  driver core: fix build with SYSFS=n
  sysfs: make SYSFS_DEPRECATED depend on SYSFS
  Driver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init
  kobject: add sample code for how to use ksets/ktypes/kobjects
  kobject: add sample code for how to use kobjects in a simple manner.
  kobject: update the kobject/kset documentation
  kobject: remove old, outdated documentation.
  ...
</content>
</entry>
<entry>
<title>fix oops on rmmod capidrv</title>
<updated>2008-01-25T16:26:10Z</updated>
<author>
<name>Karsten Keil</name>
</author>
<published>2008-01-25T10:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb36f4fc019835cecf0788907f6cab774508087b'/>
<id>urn:sha1:eb36f4fc019835cecf0788907f6cab774508087b</id>
<content type='text'>
Fix overwriting the stack with the version string
(it is currently 10 bytes + zero) when unloading the
capidrv module. Safeguard against overwriting it
should the version string grow in the future.

Should fix Kernel Bug Tracker Bug 9696.

Signed-off-by: Gerd v. Egidy &lt;gerd.von.egidy@intra2net.com&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ISDN: Convert from class_device to device for ISDN capi</title>
<updated>2008-01-25T04:40:05Z</updated>
<author>
<name>Tony Jones</name>
</author>
<published>2007-09-25T00:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d78b03683a6f96645d265abdd5c556547dc76d70'/>
<id>urn:sha1:d78b03683a6f96645d265abdd5c556547dc76d70</id>
<content type='text'>
Signed-off-by: Tony Jones &lt;tonyj@suse.de&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[ISDN] capidrv: address two longstanding warnings</title>
<updated>2007-10-29T08:45:06Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-10-26T03:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b393243fe7b711eb18eafaaf469bdb39317adf5b'/>
<id>urn:sha1:b393243fe7b711eb18eafaaf469bdb39317adf5b</id>
<content type='text'>
* change #warning to a code comment

* add comment and special ifdef'd 64-bit code for a situation where
  we must store a pointer into a CAPI field 'Data', which is fixed by
  the interface at 32 bits.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&gt;
</content>
</entry>
<entry>
<title>isdn: guard against a potential NULL pointer dereference in old_capi_manufacturer()</title>
<updated>2007-10-16T16:43:10Z</updated>
<author>
<name>Jesper Juhl</name>
</author>
<published>2007-10-16T08:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8a285b7b10029c3da7e9bbaa1659e7e08178912'/>
<id>urn:sha1:e8a285b7b10029c3da7e9bbaa1659e7e08178912</id>
<content type='text'>
In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call to
get_capi_ctr_by_nr(ldef.contr); in line 823 returns NULL, then we'll be
dereferencing a NULL pointer in the very next line.

(Found by Coverity checker as bug #402)

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&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>fix possible NULL deref on low memory condition in capidrv.c::send_message()</title>
<updated>2007-10-16T16:43:10Z</updated>
<author>
<name>Jesper Juhl</name>
</author>
<published>2007-10-16T08:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1b2e7cf4a9742f61d76fcb419b1fd13159876a5'/>
<id>urn:sha1:b1b2e7cf4a9742f61d76fcb419b1fd13159876a5</id>
<content type='text'>
If we fail to allocate an skb in
drivers/isdn/capi/capidrv.c::send_message(), then we'll end up
dereferencing a NULL pointer.
Since out of memory conditions are not unheard of, I believe it
is better to print a error message and just return rather than
bring down the whole kernel.
Sure, doing this may upset some application, but that's still
better than crashing the whole system.

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&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>isdn/capi warning fixes</title>
<updated>2007-07-17T17:23:06Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2007-07-17T11:04:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e6c20a93b700ba884a6bced498b2691e2dd821b'/>
<id>urn:sha1:5e6c20a93b700ba884a6bced498b2691e2dd821b</id>
<content type='text'>
drivers/isdn/capi/capi.c: In function 'handle_minor_send':
drivers/isdn/capi/capi.c:552: warning: cast from pointer to integer of different size

Of course, the code here might actually be buggy, in which case this patch
should not be applied?

Answer:

  No this field is ignored inside linux kernel.Yes this is ugly, but it's
  the CAPI spec for all OS.

  CAPI DATA_B3 Request/Indication CAPI Message has a mandatory field which
  represent the 32 bit buffer address of the payload data.  In linux the
  payload data do not use a sperate buffer, data follows directely after the
  CAPI Message in the same skb and we use this assumption inside the drivers,
  so we can ignore this field.

  Inside the linux CAPI implemetation we never use this field, so it could
  also have no value, but since random data in a message is bad as well (e.g.
  displayed in CAPI traces) we set is to the most adequate value.

  Outside the kernel the capi20 library sets the correct addresses (there is
  an optional second field for 64 bit adresses for 64 bit systems, we do not
  use here).

Acked-by: Karsten Keil &lt;kkeil@suse.de&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 menuconfig objects: ISDN: CONFIG_ISDN_CAPI</title>
<updated>2007-07-17T17:23:05Z</updated>
<author>
<name>Jan Engelhardt</name>
</author>
<published>2007-07-17T11:04:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df19434cc268e207d1beb4dc7be3420888faef09'/>
<id>urn:sha1:df19434cc268e207d1beb4dc7be3420888faef09</id>
<content type='text'>
Transform "depends on" into a simpler if-endif block style dependency.

Signed-off-by: Jan Engelhardt &lt;jengelh@gmx.de&gt;
Cc: Karsten Keil &lt;kkeil@suse.de&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>Make ISDN CAPI use seq_list_xxx helpers</title>
<updated>2007-07-17T17:23:05Z</updated>
<author>
<name>Pavel Emelianov</name>
</author>
<published>2007-07-17T11:04:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b7c30292af56e64feaecdbe97da57918927b730'/>
<id>urn:sha1:2b7c30292af56e64feaecdbe97da57918927b730</id>
<content type='text'>
The similar code exists here and is called capi_driver_get_idx().  Use generic
helpers now and remember to convert list_head to struct capi_driver in .show
callback.

Signed-off-by: Pavel Emelianov &lt;xemul@openvz.org&gt;
Acked-by: Karsten Keil &lt;kkeil@suse.de&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>
