<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/comedi/drivers.c, branch v2.6.37</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Staging: comedi: Fixed printk call lengths and log levels</title>
<updated>2010-05-11T18:36:18+00:00</updated>
<author>
<name>Mark Rankilor</name>
<email>reodge@gmail.com</email>
</author>
<published>2010-05-06T09:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=67b0e64a7b219550cc3378800f680e2bb86a10f9'/>
<id>67b0e64a7b219550cc3378800f680e2bb86a10f9</id>
<content type='text'>
This is a patch to include log levels and fix some over length lines in
printk calls in drivers.c

Signed-off-by: Mark Rankilor &lt;reodge@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 is a patch to include log levels and fix some over length lines in
printk calls in drivers.c

Signed-off-by: Mark Rankilor &lt;reodge@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: drivers.c sparse cleanup</title>
<updated>2010-05-11T18:36:03+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-05-03T22:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7029a87455af3cf303e8d6d0db8c26b6a94f1020'/>
<id>7029a87455af3cf303e8d6d0db8c26b6a94f1020</id>
<content type='text'>
Fix up some sparse issues in drivers.c

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&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>
Fix up some sparse issues in drivers.c

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: make comedi_reset_async_buf local to comedi core</title>
<updated>2010-05-11T18:36:03+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-05-03T22:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=09372df0dff51121e772ca5870fb565a08840c86'/>
<id>09372df0dff51121e772ca5870fb565a08840c86</id>
<content type='text'>
No one outside of the comedi core calls this function, so don't export
it to the world.

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&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>
No one outside of the comedi core calls this function, so don't export
it to the world.

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: make comedi_alloc_board_minor local to comedi core</title>
<updated>2010-05-11T18:36:03+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-05-03T22:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=242e7ad91a067243d7ab63b6a25ed2e085733446'/>
<id>242e7ad91a067243d7ab63b6a25ed2e085733446</id>
<content type='text'>
No one outside of the comedi core calls this function, so create
an internal.h file to put the prototype in, and don't export
it to the world.

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&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>
No one outside of the comedi core calls this function, so create
an internal.h file to put the prototype in, and don't export
it to the world.

Cc: Ian Abbott &lt;abbotti@mev.co.uk&gt;
Cc: Frank Mori Hess &lt;fmhess@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: Adjusted some long line lengths in drivers.c</title>
<updated>2010-05-11T18:36:02+00:00</updated>
<author>
<name>Mark Rankilor</name>
<email>reodge@gmail.com</email>
</author>
<published>2010-05-03T10:07:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=aad4029a49e17d8529b8b802d4ecd774ef941f7c'/>
<id>aad4029a49e17d8529b8b802d4ecd774ef941f7c</id>
<content type='text'>
This patch fixes some long line lengths in drivers.c that checkpatch.pl was
complaining about

Signed-off-by: Mark Rankilor &lt;reodge@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 some long line lengths in drivers.c that checkpatch.pl was
complaining about

Signed-off-by: Mark Rankilor &lt;reodge@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: remove comedi_ksyms.c</title>
<updated>2010-05-11T18:36:00+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-05-01T19:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4bf935596bfabe3f951bc0331ebd893ef06e1123'/>
<id>4bf935596bfabe3f951bc0331ebd893ef06e1123</id>
<content type='text'>
Move the 4 remaining exports to their function location
and then remove the comedi_ksyms.c file, as it's no longer
needed.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the 4 remaining exports to their function location
and then remove the comedi_ksyms.c file, as it's no longer
needed.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: move a bunch of EXPORT_SYMBOL lines</title>
<updated>2010-05-11T18:35:59+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-05-01T18:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d58214b0b8662f1b27d538390ecc49bbea0cd754'/>
<id>d58214b0b8662f1b27d538390ecc49bbea0cd754</id>
<content type='text'>
Move the ones that are needed to be in drivers.c into the
file.  This is with the goal of deleting the comedi_ksyms.c
file.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the ones that are needed to be in drivers.c into the
file.  This is with the goal of deleting the comedi_ksyms.c
file.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: remove wrapper.h</title>
<updated>2010-05-11T18:35:58+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2010-04-30T22:55:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=be29eac8ed3fd21d86f79d2e84dff49b8a13cd2c'/>
<id>be29eac8ed3fd21d86f79d2e84dff49b8a13cd2c</id>
<content type='text'>
Just make the bit call when it is needed, no need to wrap
things up like this for no reason.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just make the bit call when it is needed, no need to wrap
things up like this for no reason.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: fixed coding style issues in drivers.c</title>
<updated>2010-05-11T18:35:39+00:00</updated>
<author>
<name>Zachary Richey</name>
<email>zr.public@gmail.com</email>
</author>
<published>2010-04-26T11:49:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ac4898a0f81d3b3c218cb4d17bac1750ef82e456'/>
<id>ac4898a0f81d3b3c218cb4d17bac1750ef82e456</id>
<content type='text'>
This patch fixes coding style issues found by checkpatch.pl, and doesnt
line break string literals.

Signed-off-by: Zachary Richey &lt;zr.public@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 coding style issues found by checkpatch.pl, and doesnt
line break string literals.

Signed-off-by: Zachary Richey &lt;zr.public@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: comedi: drivers.c: Checkpatch cleanup</title>
<updated>2010-03-04T00:43:07+00:00</updated>
<author>
<name>Andrea Gelmini</name>
<email>andrea.gelmini@gelma.net</email>
</author>
<published>2010-02-26T16:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5617f9da4619ec975514e6b385a052e024215da3'/>
<id>5617f9da4619ec975514e6b385a052e024215da3</id>
<content type='text'>
WARNING: Use #include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;
+#include &lt;asm/io.h&gt;

WARNING: braces {} are not necessary for any arm of this statement
+	if (dev-&gt;driver) {
[...]
+	} else {
[...]

WARNING: braces {} are not necessary for single statement blocks
+	if (insn-&gt;insn == INSN_READ) {
+		data[0] = (new_data[1] &gt;&gt; (chan - base_bitfield_channel)) &amp; 1;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (async-&gt;prealloc_buf &amp;&amp; async-&gt;prealloc_bufsz == new_size) {
+		return 0;
+	}

WARNING: braces {} are not necessary for single statement blocks
+				if (async-&gt;buf_page_list[i].virt_addr == NULL) {
+					break;
+				}

WARNING: braces {} are not necessary for single statement blocks
+	if ((int)(async-&gt;buf_write_alloc_count + nbytes - free_end) &gt; 0) {
+		nbytes = free_end - async-&gt;buf_write_alloc_count;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if ((int)(async-&gt;buf_write_alloc_count + nbytes - free_end) &gt; 0) {
+		nbytes = 0;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (async-&gt;buf_write_ptr &gt;= async-&gt;prealloc_bufsz) {
+		async-&gt;buf_write_ptr %= async-&gt;prealloc_bufsz;
+	}

Signed-off-by: Andrea Gelmini &lt;andrea.gelmini@gelma.net
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WARNING: Use #include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;
+#include &lt;asm/io.h&gt;

WARNING: braces {} are not necessary for any arm of this statement
+	if (dev-&gt;driver) {
[...]
+	} else {
[...]

WARNING: braces {} are not necessary for single statement blocks
+	if (insn-&gt;insn == INSN_READ) {
+		data[0] = (new_data[1] &gt;&gt; (chan - base_bitfield_channel)) &amp; 1;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (async-&gt;prealloc_buf &amp;&amp; async-&gt;prealloc_bufsz == new_size) {
+		return 0;
+	}

WARNING: braces {} are not necessary for single statement blocks
+				if (async-&gt;buf_page_list[i].virt_addr == NULL) {
+					break;
+				}

WARNING: braces {} are not necessary for single statement blocks
+	if ((int)(async-&gt;buf_write_alloc_count + nbytes - free_end) &gt; 0) {
+		nbytes = free_end - async-&gt;buf_write_alloc_count;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if ((int)(async-&gt;buf_write_alloc_count + nbytes - free_end) &gt; 0) {
+		nbytes = 0;
+	}

WARNING: braces {} are not necessary for single statement blocks
+	if (async-&gt;buf_write_ptr &gt;= async-&gt;prealloc_bufsz) {
+		async-&gt;buf_write_ptr %= async-&gt;prealloc_bufsz;
+	}

Signed-off-by: Andrea Gelmini &lt;andrea.gelmini@gelma.net
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
</feed>
