<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/dgnc, branch linux-3.12.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>staging/dgnc: fix info leak in ioctl</title>
<updated>2016-01-15T08:31:27+00:00</updated>
<author>
<name>Salva Peiró</name>
<email>speirofr@gmail.com</email>
</author>
<published>2015-10-14T15:48:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=39c9944afb08c26ff36ae1967497d44fcf5a87ed'/>
<id>39c9944afb08c26ff36ae1967497d44fcf5a87ed</id>
<content type='text'>
commit 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 upstream.

The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of
struct digi_dinfo after the -&gt;dinfo_nboards member. Add an explicit
memset(0) before filling the structure to avoid the info leak.

Signed-off-by: Salva Peiró &lt;speirofr@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Yuki Machida &lt;machida.yuki@jp.fujitsu.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 upstream.

The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of
struct digi_dinfo after the -&gt;dinfo_nboards member. Add an explicit
memset(0) before filling the structure to avoid the info leak.

Signed-off-by: Salva Peiró &lt;speirofr@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Yuki Machida &lt;machida.yuki@jp.fujitsu.com&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dgnc: Move DG_PART definition from Makefile to dgnc_driver.h</title>
<updated>2015-06-09T10:22:50+00:00</updated>
<author>
<name>Cass May</name>
<email>cass@cassm.net</email>
</author>
<published>2015-02-15T23:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8c35200a686d3647b1ed44c2e803019b529a3ee2'/>
<id>8c35200a686d3647b1ed44c2e803019b529a3ee2</id>
<content type='text'>
commit f11cc568758f23088c1f7a8369100c59e4c07bd6 upstream.

Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h

Signed-off-by: Cass May &lt;cass@cassm.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit f11cc568758f23088c1f7a8369100c59e4c07bd6 upstream.

Avoid deprecated usage of EXTRA_CFLAGS by moving definition of DG_PART into dgnc_driver.h

Signed-off-by: Cass May &lt;cass@cassm.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: fix potential format string flaw</title>
<updated>2013-09-17T14:39:27+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2013-09-11T04:41:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5418ae3188a9a57f318f51c3c26c0fedfea82f8b'/>
<id>5418ae3188a9a57f318f51c3c26c0fedfea82f8b</id>
<content type='text'>
Make sure that format strings cannot leak into printk() calls from the
msgbuf string.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that format strings cannot leak into printk() calls from the
msgbuf string.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: adds TODO</title>
<updated>2013-08-30T18:28:58+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-29T23:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c211148fb6355f347ec819a05c3034acd56e75c1'/>
<id>c211148fb6355f347ec819a05c3034acd56e75c1</id>
<content type='text'>
This patchs adds a TODO for the driver.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patchs adds a TODO for the driver.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: driver.c and .h: removes dgnc_driver_kzmalloc func</title>
<updated>2013-08-28T04:56:32+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f230586994c7f571356570634b942f88bf2772bb'/>
<id>f230586994c7f571356570634b942f88bf2772bb</id>
<content type='text'>
This patch removes the dgnc_driver_kzmalloc function from
driver.c and driver.h. A previous patch replaced all
dgnc_driver_kzmalloc function calls with kzalloc.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes the dgnc_driver_kzmalloc function from
driver.c and driver.h. A previous patch replaced all
dgnc_driver_kzmalloc function calls with kzalloc.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: driver.c and tty.c: replaces dgnc_driver_kzmalloc with kzalloc</title>
<updated>2013-08-28T04:55:26+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=52f9d66844ee191e4d4c0c93394749050aa9b9e5'/>
<id>52f9d66844ee191e4d4c0c93394749050aa9b9e5</id>
<content type='text'>
This patch replaces dgnc_driver_kzmalloc with kzalloc.
A patch that follows removes the dgnc_driver_kzmalloc
function.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces dgnc_driver_kzmalloc with kzalloc.
A patch that follows removes the dgnc_driver_kzmalloc
function.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: tty.c: updates uart_struct declaration for sparse</title>
<updated>2013-08-28T04:55:26+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a7a75386f958daa23ac042c0a12b48944ff41c53'/>
<id>a7a75386f958daa23ac042c0a12b48944ff41c53</id>
<content type='text'>
This patch edits the type casts neo_uart_struct and
cls_uart_struct. A previous patch added the marker __iomem
to these structs. This patch ensures that the change to
the marker is consistent. This also removes these
sparse warnings:

warning: incorrect type in assignment (different address spaces)
  expected struct neo_uart_struct [noderef] &lt;asn:2&gt;*ch_neo_uart
  got struct neo_uart_struct *&lt;noident&gt;
warning: incorrect type in assignment (different address spaces)
  expected struct cls_uart_struct [noderef] &lt;asn:2&gt;*ch_cls_uart
  got struct cls_uart_struct *&lt;noident&gt;

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch edits the type casts neo_uart_struct and
cls_uart_struct. A previous patch added the marker __iomem
to these structs. This patch ensures that the change to
the marker is consistent. This also removes these
sparse warnings:

warning: incorrect type in assignment (different address spaces)
  expected struct neo_uart_struct [noderef] &lt;asn:2&gt;*ch_neo_uart
  got struct neo_uart_struct *&lt;noident&gt;
warning: incorrect type in assignment (different address spaces)
  expected struct cls_uart_struct [noderef] &lt;asn:2&gt;*ch_cls_uart
  got struct cls_uart_struct *&lt;noident&gt;

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: tty.c: edits var in init func for sparse</title>
<updated>2013-08-26T23:26:56+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T18:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af'/>
<id>e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af</id>
<content type='text'>
This patch edits the vaddr variable in dgnc_tty_init.
The variable gets set to board_t-&gt;re_map_membase. A
previous patch changed the re_map_membase variable's
marker and type. This patch makes sure that the
changes are consistent and that it doesn't cause
sparse warnings.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch edits the vaddr variable in dgnc_tty_init.
The variable gets set to board_t-&gt;re_map_membase. A
previous patch changed the re_map_membase variable's
marker and type. This patch makes sure that the
changes are consistent and that it doesn't cause
sparse warnings.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: neo.c: changes param in neo_read_eeprom function for sparse</title>
<updated>2013-08-26T23:26:56+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T17:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c2ac546ea4b5e71dafb80892558ca0f125187998'/>
<id>c2ac546ea4b5e71dafb80892558ca0f125187998</id>
<content type='text'>
This patch adds a marker to neo_read_eeprom function's
base parameter.

It removes these warnings found in neo.c:

warning: incorrect type in argument 1 (different address spaces)
  expected unsigned char *base
  got unsigned char [noderef] [usertype] &lt;asn:2&gt;*re_map_membase
warning: incorrect type in argument 2 (different address spaces)
  expected void volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char *

These warnings happen because this function gets
called with a board_t-&gt;re_map_base variable. A previous
patch added the __iomem marker to this variable. This
patch ensures that the changes are consistent.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a marker to neo_read_eeprom function's
base parameter.

It removes these warnings found in neo.c:

warning: incorrect type in argument 1 (different address spaces)
  expected unsigned char *base
  got unsigned char [noderef] [usertype] &lt;asn:2&gt;*re_map_membase
warning: incorrect type in argument 2 (different address spaces)
  expected void volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char *

These warnings happen because this function gets
called with a board_t-&gt;re_map_base variable. A previous
patch added the __iomem marker to this variable. This
patch ensures that the changes are consistent.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: dgnc: cls.c: changes var in cls_vpd function for sparse</title>
<updated>2013-08-26T23:26:55+00:00</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T17:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=68b146e8944ae3cfc64feb7f9a12cc6190562758'/>
<id>68b146e8944ae3cfc64feb7f9a12cc6190562758</id>
<content type='text'>
This patch changes cls_vpd function's re_map_vpdbase variable
type and marker.

It removes these warnings found in cls.c:

warning: incorrect type in assignment (different address spaces)
  expected unsigned char [usertype] *re_map_vpdbase
  got void [noderef] &lt;asn:2&gt;*
warning: incorrect type in argument 1 (different address spaces)
  expected void const volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char [usertype] *
warning: incorrect type in argument 1 (different address spaces)
  expected void volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char [usertype] *re_map_vpdbase

The variables passed to readb needs to be of type u8
with a __iomem marker. re_map_vpdbase is passed into
readb in the code.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes cls_vpd function's re_map_vpdbase variable
type and marker.

It removes these warnings found in cls.c:

warning: incorrect type in assignment (different address spaces)
  expected unsigned char [usertype] *re_map_vpdbase
  got void [noderef] &lt;asn:2&gt;*
warning: incorrect type in argument 1 (different address spaces)
  expected void const volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char [usertype] *
warning: incorrect type in argument 1 (different address spaces)
  expected void volatile [noderef] &lt;asn:2&gt;*addr
  got unsigned char [usertype] *re_map_vpdbase

The variables passed to readb needs to be of type u8
with a __iomem marker. re_map_vpdbase is passed into
readb in the code.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
