<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/bcm/Misc.c, branch v3.2</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Staging: bcm: Fix assignment issue in if statement reported by checkpatch.pl.</title>
<updated>2011-10-11T16:18:21+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-10-07T22:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d491061b98bf3d2d036b9896f884403cdc2c0327'/>
<id>d491061b98bf3d2d036b9896f884403cdc2c0327</id>
<content type='text'>
This patch fixes an error where an assignment "="
was being used in an if statement to determine if
Firmware was downloaded. This patch removes that
assignment, and places it above the if statement.
The if statement then evaluates the status to
verify if "0" successful, or != 0 failure.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.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 error where an assignment "="
was being used in an if statement to determine if
Firmware was downloaded. This patch removes that
assignment, and places it above the if statement.
The if statement then evaluates the status to
verify if "0" successful, or != 0 failure.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Remove assignment in if condition reported by checkpatch.pl</title>
<updated>2011-10-11T16:18:21+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-10-07T22:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9d4f1d0c9d1cf2fc4a73b6fff30aa129b9d1586e'/>
<id>9d4f1d0c9d1cf2fc4a73b6fff30aa129b9d1586e</id>
<content type='text'>
There is a case where an assignment was being done
in an if condition. This patch removes the assignment
from the if condition and places the assignment above
the if statement; thereby improving the readability of
the code.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.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>
There is a case where an assignment was being done
in an if condition. This patch removes the assignment
from the if condition and places the assignment above
the if statement; thereby improving the readability of
the code.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Replace dated variable __FUNCTION__ reported by checkpatch.pl</title>
<updated>2011-10-11T16:18:21+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-10-07T22:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a8a1cdd6d4daeeb7a8016fbaa2cb79f37b14ea9a'/>
<id>a8a1cdd6d4daeeb7a8016fbaa2cb79f37b14ea9a</id>
<content type='text'>
This patch replaces the obsolete variable, __FUNCTION__, that
holds the name of the current function with variable, __func__.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.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 replaces the obsolete variable, __FUNCTION__, that
holds the name of the current function with variable, __func__.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Fix coding style issues reported by checkpatch.pl</title>
<updated>2011-10-11T16:18:20+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-10-07T22:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6a4ef5f9b39cc84550d2f031d3546d67c6584d90'/>
<id>6a4ef5f9b39cc84550d2f031d3546d67c6584d90</id>
<content type='text'>
This patch cleans up several hundred code style issues found
in Misc.c reported by checkpatch.pl.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.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 cleans up several hundred code style issues found
in Misc.c reported by checkpatch.pl.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: Add size maximum size restrictions for IOCTL_IDLE_REQ</title>
<updated>2011-09-19T17:46:17+00:00</updated>
<author>
<name>Kevin McKinney</name>
<email>klmckinney1@gmail.com</email>
</author>
<published>2011-09-18T22:34:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e228b7426e65df0f2e93c783c2c89baabe318b9b'/>
<id>e228b7426e65df0f2e93c783c2c89baabe318b9b</id>
<content type='text'>
In the first alteration, the MAX_CNTL_PKT_SIZE is the
maximum size of the control packet in -&gt;Adapter-&gt;txctlpacket[]
which is defined in InitAdapter(). This caps the size of
kmalloc memory allocation. In the second change, this max
cap fixes a potential memory corruption bug when subsequent
memset and memcpy calls are invoked.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.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>
In the first alteration, the MAX_CNTL_PKT_SIZE is the
maximum size of the control packet in -&gt;Adapter-&gt;txctlpacket[]
which is defined in InitAdapter(). This caps the size of
kmalloc memory allocation. In the second change, this max
cap fixes a potential memory corruption bug when subsequent
memset and memcpy calls are invoked.

Signed-off-by: Kevin McKinney &lt;klmckinney1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: remove unnecessary code</title>
<updated>2011-06-28T20:13:42+00:00</updated>
<author>
<name>Greg Dietsche</name>
<email>Gregory.Dietsche@cuw.edu</email>
</author>
<published>2011-06-13T18:11:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c5274ab09747d0ef829f9b8f040756758e5de55c'/>
<id>c5274ab09747d0ef829f9b8f040756758e5de55c</id>
<content type='text'>
Compile tested.
remove unnecessary code that matches this coccinelle pattern
	if (...)
		return ret;
	return ret;

Signed-off-by: Greg Dietsche &lt;Gregory.Dietsche@cuw.edu&gt;
Acked-by: Franky Lin &lt;frankyl@broadcom.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>
Compile tested.
remove unnecessary code that matches this coccinelle pattern
	if (...)
		return ret;
	return ret;

Signed-off-by: Greg Dietsche &lt;Gregory.Dietsche@cuw.edu&gt;
Acked-by: Franky Lin &lt;frankyl@broadcom.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23+00:00</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: bcm: optimize kmalloc to kzalloc</title>
<updated>2011-03-09T23:54:31+00:00</updated>
<author>
<name>Alexander Beregalov</name>
<email>a.beregalov@gmail.com</email>
</author>
<published>2011-03-09T00:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f4a0e6b1354cd0bec6aca405883cc45662511f03'/>
<id>f4a0e6b1354cd0bec6aca405883cc45662511f03</id>
<content type='text'>
Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle.

Signed-off-by: Alexander Beregalov &lt;a.beregalov@gmail.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>
Use kzalloc rather than kmalloc followed by memset with 0.
Found by coccinelle.

Signed-off-by: Alexander Beregalov &lt;a.beregalov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: Beceem: remove old kernel compatibility code</title>
<updated>2010-12-07T00:09:45+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-12-06T07:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cd0b0ebfbe134b9c98fa8e628732b0e41b2cb48c'/>
<id>cd0b0ebfbe134b9c98fa8e628732b0e41b2cb48c</id>
<content type='text'>
This drops compatability for everything from 2.4 to 2.6.35.  Now it only
works on the latest kernel.

Signed-off-by: Dan Carpenter &lt;error27@gmail.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 drops compatability for everything from 2.4 to 2.6.35.  Now it only
works on the latest kernel.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: bcm: signedness bug in InitCardAndDownloadFirmware()</title>
<updated>2010-11-16T20:31:50+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-11-13T08:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2e3161390130f50fdbb4b989c667f42e5008107f'/>
<id>2e3161390130f50fdbb4b989c667f42e5008107f</id>
<content type='text'>
status is used to store negative error codes throughout.  The only place
where this is a runtime bug is if create_worker_threads() fails.

Signed-off-by: Dan Carpenter &lt;error27@gmail.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>
status is used to store negative error codes throughout.  The only place
where this is a runtime bug is if create_worker_threads() fails.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
