<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/android/binder.c, branch v2.6.32</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: Make some structures static</title>
<updated>2009-09-15T19:02:24+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2009-08-14T20:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a5ca2dfc4ebd33e18f981f562833c39efdc2585c'/>
<id>a5ca2dfc4ebd33e18f981f562833c39efdc2585c</id>
<content type='text'>
This was done using a semantic patch (http://coccinelle.lip6.fr/) that
checks that the declaration is not inside a function definition, that the
defined variable is not exported using EXPORTED_SYMBOL, etc, and that the
defined variable does not occur in any other file.  If these conditions
hold, static is added before the declaration.

Signed-off-by: Julia Lawall &lt;julia@diku.dk&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 was done using a semantic patch (http://coccinelle.lip6.fr/) that
checks that the declaration is not inside a function definition, that the
defined variable is not exported using EXPORTED_SYMBOL, etc, and that the
defined variable does not occur in any other file.  If these conditions
hold, static is added before the declaration.

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: android: binder: partial checkpatch cleanup</title>
<updated>2009-09-15T19:01:26+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-07-05T16:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=10626434f473a7b4b0a21f427b301d3dd0db65a8'/>
<id>10626434f473a7b4b0a21f427b301d3dd0db65a8</id>
<content type='text'>
Clean up 3 or so checkpatch errors from one of my prior patches.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
Clean up 3 or so checkpatch errors from one of my prior patches.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: android: binder: cleanup some long lines</title>
<updated>2009-09-15T19:01:26+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-07-05T16:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=707636ff4bd4057b8fb9c1e6cc68885014623b17'/>
<id>707636ff4bd4057b8fb9c1e6cc68885014623b17</id>
<content type='text'>
This file has a lot of long line problems due to the massive indent issues
that exist. This just cleans up some of the really really long ones.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Brian Swetland &lt;swetland@google.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 file has a lot of long line problems due to the massive indent issues
that exist. This just cleans up some of the really really long ones.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: android: binder: clean up for all the stat statments</title>
<updated>2009-09-15T19:01:25+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-06-12T18:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8683b987285e4542dd79192054ee4591b8cc7700'/>
<id>8683b987285e4542dd79192054ee4591b8cc7700</id>
<content type='text'>
An initial cleanup of all the binder_stat statements. The binder
command and return stats still need some assistance tho.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
An initial cleanup of all the binder_stat statements. The binder
command and return stats still need some assistance tho.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: android: binder: global variable cleanup.</title>
<updated>2009-09-15T19:01:25+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-06-12T18:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=39e420e0a918e7d2123e26a3617568fe2b6af8c6'/>
<id>39e420e0a918e7d2123e26a3617568fe2b6af8c6</id>
<content type='text'>
Replaced a manual hlist_head declaration with a macro based one.
Also reorganized the globals to be grouped better.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
Replaced a manual hlist_head declaration with a macro based one.
Also reorganized the globals to be grouped better.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: android: binder: add enum usage in function arguments</title>
<updated>2009-09-15T19:01:25+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-06-12T18:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fd0a2f07d9b37fa52ece5bdec4f1130e080c1f51'/>
<id>fd0a2f07d9b37fa52ece5bdec4f1130e080c1f51</id>
<content type='text'>
Declare the binder_deferred_state enum, and use the new enum
for one of the binder_defer_work function arguments. This
should keep the argument within the confines of the enum
instead of the whole int range.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
Declare the binder_deferred_state enum, and use the new enum
for one of the binder_defer_work function arguments. This
should keep the argument within the confines of the enum
instead of the whole int range.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: android: binder: remove a predefine</title>
<updated>2009-09-15T19:01:25+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-06-12T18:51:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9980318e5405fe34a8f7e3af439647a729d10014'/>
<id>9980318e5405fe34a8f7e3af439647a729d10014</id>
<content type='text'>
I removed the binder_transaction_buffer_release predefine, and put
the actual function in place of it.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
I removed the binder_transaction_buffer_release predefine, and put
the actual function in place of it.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>staging: android: binder: move debugging mask into a macro</title>
<updated>2009-09-15T19:01:25+00:00</updated>
<author>
<name>Daniel Walker</name>
<email>dwalker@fifo99.com</email>
</author>
<published>2009-06-12T18:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=df56cb1f37415f16a187738ee9e3c03e2106e305'/>
<id>df56cb1f37415f16a187738ee9e3c03e2106e305</id>
<content type='text'>
I moved the continual,

if (binder_debug_mask &amp; mask)
	printk()

into a single macro so it's all in one place. It could be refined further
from there.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.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>
I moved the continual,

if (binder_debug_mask &amp; mask)
	printk()

into a single macro so it's all in one place. It could be refined further
from there.

Signed-off-by: Daniel Walker &lt;dwalker@fifo99.com&gt;
Cc: Brian Swetland &lt;swetland@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: android: binder: fix up some checkpatch warnings</title>
<updated>2009-06-19T18:00:52+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2009-05-12T00:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3dffc8271f778b9ac8eb6985c99f23cef7a753d6'/>
<id>3dffc8271f778b9ac8eb6985c99f23cef7a753d6</id>
<content type='text'>
This cleans up the majority of the checkpatch warnings in the android
binder driver.  All that is left now is a bunch of too-long-line stuff.


Cc: San Mehat &lt;san@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: David Rientjes &lt;rientjes@google.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 cleans up the majority of the checkpatch warnings in the android
binder driver.  All that is left now is a bunch of too-long-line stuff.


Cc: San Mehat &lt;san@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: David Rientjes &lt;rientjes@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: binder: Defer flush and release operations to avoid deadlocks.</title>
<updated>2009-04-17T18:06:27+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2009-04-06T22:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=861a0dcc397f3e94024cc311086799393ec517df'/>
<id>861a0dcc397f3e94024cc311086799393ec517df</id>
<content type='text'>
If a transaction that contains a file descriptor fails on a later object,
the new file descriptor needs to be closed. If this is a binder file
descriptor we would deadlock in flush. If there were no other references to
the file at this point release would also be called.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.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>
If a transaction that contains a file descriptor fails on a later object,
the new file descriptor needs to be closed. If this is a binder file
descriptor we would deadlock in flush. If there were no other references to
the file at this point release would also be called.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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