<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/dgnc, branch v3.12.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/staging/dgnc?h=v3.12.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/staging/dgnc?h=v3.12.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-09-17T14:39:27Z</updated>
<entry>
<title>staging: dgnc: fix potential format string flaw</title>
<updated>2013-09-17T14:39:27Z</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2013-09-11T04:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5418ae3188a9a57f318f51c3c26c0fedfea82f8b'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: adds TODO</title>
<updated>2013-08-30T18:28:58Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-29T23:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c211148fb6355f347ec819a05c3034acd56e75c1'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: driver.c and .h: removes dgnc_driver_kzmalloc func</title>
<updated>2013-08-28T04:56:32Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f230586994c7f571356570634b942f88bf2772bb'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: driver.c and tty.c: replaces dgnc_driver_kzmalloc with kzalloc</title>
<updated>2013-08-28T04:55:26Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=52f9d66844ee191e4d4c0c93394749050aa9b9e5'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: tty.c: updates uart_struct declaration for sparse</title>
<updated>2013-08-28T04:55:26Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-28T02:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a7a75386f958daa23ac042c0a12b48944ff41c53'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: tty.c: edits var in init func for sparse</title>
<updated>2013-08-26T23:26:56Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T18:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e7f1c9320ee6b596d58c4b2baeb1bbdfb1f0d9af'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: neo.c: changes param in neo_read_eeprom function for sparse</title>
<updated>2013-08-26T23:26:56Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T17:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c2ac546ea4b5e71dafb80892558ca0f125187998'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: cls.c: changes var in cls_vpd function for sparse</title>
<updated>2013-08-26T23:26:55Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T17:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=68b146e8944ae3cfc64feb7f9a12cc6190562758'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse</title>
<updated>2013-08-26T23:26:55Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T16:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7915dea707820724ad5d5117e9e07ccccf712dd6'/>
<id>urn:sha1:7915dea707820724ad5d5117e9e07ccccf712dd6</id>
<content type='text'>
This patch changes the board_t-&gt;re_map_membase variable
type and marker.

It removes these warnings found in the neo.c,
driver.c and cls.c files:

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

The variables passed to readb and writeb need to
be of type u8 with a __iomem marker. These warnings
were popping up everytime the readb and writeb
functions were called with a
board_t-&gt;re_map_membase variable.

The change made to the driver.h file adds the marker
and changes the variable type.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgnc: neo_uart_struct: adds marker and changes vars' types for sparse</title>
<updated>2013-08-26T23:26:55Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-08-26T15:08:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2587771a61bdf89a45cf54ddbed5458deaaddf26'/>
<id>urn:sha1:2587771a61bdf89a45cf54ddbed5458deaaddf26</id>
<content type='text'>
This patch fixes these warnings found in the neo.c file:

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

The variables passed to readb and writeb need to
be of type u8 with a __iomem marker. These warnings
were popping up everytime the readb and writeb
functions were called with a neo_uart_struct variable.

The change made to the driver.h file adds the marker
to the neo_uart_struct and the changes in neo.h
changes the variables' types.

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