<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/bcm/InterfaceDld.c, branch v3.14</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: bcm: line over 80 characters in InterfaceDld.c</title>
<updated>2013-12-19T00:24:17+00:00</updated>
<author>
<name>Gokulnath A</name>
<email>gokul.linux@gmail.com</email>
</author>
<published>2013-12-18T17:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b3a53885b26c89ea9d4e6ee31dacab8c5c2536ad'/>
<id>b3a53885b26c89ea9d4e6ee31dacab8c5c2536ad</id>
<content type='text'>
Fixed all the line over 80 characters warning found by
checkpatch.pl script.

Signed-off-by: Gokulnath A &lt;Gokulnath.Avanashilingam@in.bosch.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>
Fixed all the line over 80 characters warning found by
checkpatch.pl script.

Signed-off-by: Gokulnath A &lt;Gokulnath.Avanashilingam@in.bosch.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging:bcm: Removed developer debug prints in InterfaceDld.c</title>
<updated>2013-12-19T00:24:17+00:00</updated>
<author>
<name>Gokulnath A</name>
<email>gokul.linux@gmail.com</email>
</author>
<published>2013-12-18T17:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8f5157bf37a70023b8804bf15a0e6efdcc553759'/>
<id>8f5157bf37a70023b8804bf15a0e6efdcc553759</id>
<content type='text'>
Removed the developer debug prints BCM_DEBUG_PRINT()
as per the TODO list, also removed braces for the
if-statement to match coding style

Signed-off-by: Gokulnath A &lt;Gokulnath.Avanashilingam@in.bosch.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>
Removed the developer debug prints BCM_DEBUG_PRINT()
as per the TODO list, also removed braces for the
if-statement to match coding style

Signed-off-by: Gokulnath A &lt;Gokulnath.Avanashilingam@in.bosch.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: bcm: Remove unnecessary pointer casting</title>
<updated>2013-10-30T00:03:40+00:00</updated>
<author>
<name>Lisa Nguyen</name>
<email>lisa@xenapiadmin.com</email>
</author>
<published>2013-10-29T21:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2fef7e13c88698c165d42778abce3bb95f2238ea'/>
<id>2fef7e13c88698c165d42778abce3bb95f2238ea</id>
<content type='text'>
Some void pointers can be assigned to other
pointer variables in functions without casting.

Signed-off-by: Lisa Nguyen &lt;lisa@xenapiadmin.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>
Some void pointers can be assigned to other
pointer variables in functions without casting.

Signed-off-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: bcm: Replace FALSE with false</title>
<updated>2013-10-28T21:13:46+00:00</updated>
<author>
<name>Lisa Nguyen</name>
<email>lisa@xenapiadmin.com</email>
</author>
<published>2013-10-28T08:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f70c8a91cd0e743d0531a158d939bbdb6c0874dc'/>
<id>f70c8a91cd0e743d0531a158d939bbdb6c0874dc</id>
<content type='text'>
Replace user-defined type FALSE with C defined false keyword.

Signed-off-by: Lisa Nguyen &lt;lisa@xenapiadmin.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>
Replace user-defined type FALSE with C defined false keyword.

Signed-off-by: Lisa Nguyen &lt;lisa@xenapiadmin.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: potential forever loop verifying firmware</title>
<updated>2013-03-11T16:15:32+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-03-01T20:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2c5270ac807e46889fb08c3cf3c65902d0c35bb2'/>
<id>2c5270ac807e46889fb08c3cf3c65902d0c35bb2</id>
<content type='text'>
There is an ioctl() to write data to the firmware.  After the data
is written, it reads the databack from the firmware and compares
against what the user wanted to write and prints an error message
if it doesn't match.

The problem is that verify process has a forever loop if the
firmware size is not a multiple of 4.  I've fixed it by replacing
the bcm compare function with memcmp().

I have chopped out some debugging code in the process.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.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>
There is an ioctl() to write data to the firmware.  After the data
is written, it reads the databack from the firmware and compares
against what the user wanted to write and prints an error message
if it doesn't match.

The problem is that verify process has a forever loop if the
firmware size is not a multiple of 4.  I've fixed it by replacing
the bcm compare function with memcmp().

I have chopped out some debugging code in the process.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Remove typedef for _TARGET_PARAMS and call directly.</title>
<updated>2013-01-07T18:54:01+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2012-12-17T22:35:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c81823340a7eaa3dfdd4c5a244deff30231d2e5c'/>
<id>c81823340a7eaa3dfdd4c5a244deff30231d2e5c</id>
<content type='text'>
This patch removes typedef for _TARGET_PARAMS, and changes
the name of the struct to bcm_target_params. In addition,
any calls to struct "stTargetParams, TARGET_PARAMS,
*PTARGET_PARAMS, STARGETPARAMS,  or *PSTARGETPARAMS are
changed to call directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@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 typedef for _TARGET_PARAMS, and changes
the name of the struct to bcm_target_params. In addition,
any calls to struct "stTargetParams, TARGET_PARAMS,
*PTARGET_PARAMS, STARGETPARAMS,  or *PSTARGETPARAMS are
changed to call directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly.</title>
<updated>2012-11-02T18:36:46+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2012-11-02T03:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d6861cfef2e42fecd5f0d51554493e45df6612a6'/>
<id>d6861cfef2e42fecd5f0d51554493e45df6612a6</id>
<content type='text'>
This patch removes typedef for
_S_INTERFACE_ADAPTER, changes the
name of the struct to bcm_interface_adapter.
In addition, any calls to typedefs
S_INTERFACE_ADAPTER, or *PS_INTERFACE_ADAPTER
are changed to call the struct directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@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 typedef for
_S_INTERFACE_ADAPTER, changes the
name of the struct to bcm_interface_adapter.
In addition, any calls to typedefs
S_INTERFACE_ADAPTER, or *PS_INTERFACE_ADAPTER
are changed to call the struct directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Remove typedef for _MINI_ADAPTER and call directly.</title>
<updated>2012-06-05T04:09:22+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2012-05-26T16:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2979460d7aba1dac3452edcacd7b8c4cfcf06067'/>
<id>2979460d7aba1dac3452edcacd7b8c4cfcf06067</id>
<content type='text'>
This patch removes typedef for _MINI_ADAPTER, changes the
name of the struct from _MINI_ADAPTER to bcm_mini_adapter.
In addition, any calls to the following typedefs
"MINI_ADAPTER, *PMINI_ADAPTER" are changed to call
the struct directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@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 typedef for _MINI_ADAPTER, changes the
name of the struct from _MINI_ADAPTER to bcm_mini_adapter.
In addition, any calls to the following typedefs
"MINI_ADAPTER, *PMINI_ADAPTER" are changed to call
the struct directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Remove typedef for FirmwareInfo and call directly.</title>
<updated>2012-06-05T04:06:35+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2012-05-26T16:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7a27a2ccf8a6368f6d7f77cb02f5c5c698015c2e'/>
<id>7a27a2ccf8a6368f6d7f77cb02f5c5c698015c2e</id>
<content type='text'>
This patch removes typedef for FirmwareInfo,
changes the name from Firmwareinfo to
bcm_firmware_info. In addition, any calls to
the following typedefs "PFIRMWARE_INFO,
FIRMWARE_INFO" are changed to call the struct
directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@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 typedef for FirmwareInfo,
changes the name from Firmwareinfo to
bcm_firmware_info. In addition, any calls to
the following typedefs "PFIRMWARE_INFO,
FIRMWARE_INFO" are changed to call the struct
directly.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ</title>
<updated>2011-11-27T01:11:58+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-11-06T14:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=41c7b7c0fa2f68afb1154e88597ff6b9b97334cf'/>
<id>41c7b7c0fa2f68afb1154e88597ff6b9b97334cf</id>
<content type='text'>
This patch fixes an information leak in ioctl
IOCTL_BCM_REGISTER_READ_PRIVATE and
IOCTL_BCM_EEPROM_REGISTER_READ when determining
the number of bytes to copy to user space.  Function,
usb_control_msg, returns the correct number of
bytes from the hardware.  Instead of using
this value, we were using a value derived from
user space. In this case, this value could be more
than the hardware allocated.  Therefore, this
patch copies the proper number of bytes from
the hardware, and uses this value as the maximum
number of bytes for user space.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes an information leak in ioctl
IOCTL_BCM_REGISTER_READ_PRIVATE and
IOCTL_BCM_EEPROM_REGISTER_READ when determining
the number of bytes to copy to user space.  Function,
usb_control_msg, returns the correct number of
bytes from the hardware.  Instead of using
this value, we were using a value derived from
user space. In this case, this value could be more
than the hardware allocated.  Therefore, this
patch copies the proper number of bytes from
the hardware, and uses this value as the maximum
number of bytes for user space.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
