<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/android, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-10-24T13:36:15Z</updated>
<entry>
<title>staging: android: ion: Fix error handling in ion_query_heaps()</title>
<updated>2016-10-24T13:36:15Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2016-10-13T12:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cf55902b9c306ed259eb57ff111a0c152620f4a6'/>
<id>urn:sha1:cf55902b9c306ed259eb57ff111a0c152620f4a6</id>
<content type='text'>
If the copy_to_user() fails we should unlock and return directly without
updating "cnt".  Also the return value should be -EFAULT instead of the
number of bytes remaining.

Fixes: 02b23803c6af ("staging: android: ion: Add ioctl to query available heaps")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android/ion: testing the wrong variable</title>
<updated>2016-10-17T07:14:55Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2016-10-12T06:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0047b6e5f1b45b391244d78097631eb09a960202'/>
<id>urn:sha1:0047b6e5f1b45b391244d78097631eb09a960202</id>
<content type='text'>
We're testing "pdev" but we intended to test "heap_pdev".  This is a
static checker fix and it's unlikely that anyone is affected by this
bug.

Fixes: 13439479c7de ('staging: ion: Add files for parsing the devicetree')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: ion: fix checks found by checkpatch.pl</title>
<updated>2016-10-02T14:58:29Z</updated>
<author>
<name>Wayne Porter</name>
<email>wporter82@gmail.com</email>
</author>
<published>2016-09-30T22:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b1e42d9f7057d074e6ada45abe003c4d8578bd20'/>
<id>urn:sha1:b1e42d9f7057d074e6ada45abe003c4d8578bd20</id>
<content type='text'>
Alignment fixes

Signed-off-by: Wayne Porter &lt;wporter82@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: ion: fix warning found by checkpatch.pl</title>
<updated>2016-10-02T14:58:29Z</updated>
<author>
<name>Wayne Porter</name>
<email>wporter82@gmail.com</email>
</author>
<published>2016-09-30T23:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b4e26d6c06eb70b0d3892bbd40ce43d4ea345c45'/>
<id>urn:sha1:b4e26d6c06eb70b0d3892bbd40ce43d4ea345c45</id>
<content type='text'>
Fix checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Wayne Porter &lt;wporter82@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging:android:ion: Fix whitespace issue</title>
<updated>2016-09-27T11:14:48Z</updated>
<author>
<name>Yannis Damigos</name>
<email>giannis.damigos@gmail.com</email>
</author>
<published>2016-09-27T07:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3dbab14b85a8537b4c447ca16d885a3cc1fa2f9e'/>
<id>urn:sha1:3dbab14b85a8537b4c447ca16d885a3cc1fa2f9e</id>
<content type='text'>
This patch fixes the following whitespace issue:

CHECK: spaces preferred around that '*' (ctx:VxV)
FILE: drivers/staging/android/ion/ion_of.c:91:
+                            sizeof(struct ion_platform_heap)*num_heaps,

Signed-off-by: Yannis Damigos &lt;giannis.damigos@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging:android:ion: Fix blank line issues</title>
<updated>2016-09-27T11:14:48Z</updated>
<author>
<name>Yannis Damigos</name>
<email>giannis.damigos@gmail.com</email>
</author>
<published>2016-09-27T07:38:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c595149c3e58cd4839354163a77a74cf6816d276'/>
<id>urn:sha1:c595149c3e58cd4839354163a77a74cf6816d276</id>
<content type='text'>
This patch fixes the following blank line issues:

CHECK: Please don't use multiple blank lines

CHECK: Please use a blank line after function/struct/union/enum declarations
+}
+RESERVEDMEM_OF_DECLARE(ion, "ion-region", rmem_ion_setup);

Signed-off-by: Yannis Damigos &lt;giannis.damigos@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging:android:ion: Fix alignment issues</title>
<updated>2016-09-27T11:14:48Z</updated>
<author>
<name>Yannis Damigos</name>
<email>giannis.damigos@gmail.com</email>
</author>
<published>2016-09-27T07:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=faa2f6f383c1a5e7200de0e2647442ff7ebf5108'/>
<id>urn:sha1:faa2f6f383c1a5e7200de0e2647442ff7ebf5108</id>
<content type='text'>
This patch fixes the following whitespace issues:

CHECK: Alignment should match open parenthesis
+	pr_info("%s: id %d type %d name %s align %lx\n", __func__,
+			heap-&gt;id, heap-&gt;type, heap-&gt;name, heap-&gt;align);

CHECK: Alignment should match open parenthesis
+struct ion_platform_data *ion_parse_dt(struct platform_device *pdev,
+					struct ion_of_heap *compatible)

CHECK: Alignment should match open parenthesis
+	heaps = devm_kzalloc(&amp;pdev-&gt;dev,
+				sizeof(struct ion_platform_heap)*num_heaps,

CHECK: Alignment should match open parenthesis
+	data = devm_kzalloc(&amp;pdev-&gt;dev, sizeof(struct ion_platform_data),
+				GFP_KERNEL);

CHECK: Alignment should match open parenthesis
+		heap_pdev = of_platform_device_create(node, heaps[i].name,
+							&amp;pdev-&gt;dev);

CHECK: Alignment should match open parenthesis
+	pr_debug("%s: heap %s base %pa size %pa dev %p\n", __func__,
+			heap-&gt;name, &amp;rmem-&gt;base, &amp;rmem-&gt;size, dev);

CHECK: Alignment should match open parenthesis
+static void rmem_ion_device_release(struct reserved_mem *rmem,
+					struct device *dev)

Signed-off-by: Yannis Damigos &lt;giannis.damigos@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging:android:ion: Fix comparison with NULL</title>
<updated>2016-09-27T11:14:48Z</updated>
<author>
<name>Yannis Damigos</name>
<email>giannis.damigos@gmail.com</email>
</author>
<published>2016-09-27T07:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=66fa610095f758d1793a30d1cd57a0c1432258e2'/>
<id>urn:sha1:66fa610095f758d1793a30d1cd57a0c1432258e2</id>
<content type='text'>
This patch fixes the following comparison with NULL issues:

CHECK: Comparison to NULL could be written "compatible[i].name"
+	for (i = 0; compatible[i].name != NULL; i++) {

CHECK: Comparison to NULL could be written "!compatible[i].name"
+	if (compatible[i].name == NULL)

Signed-off-by: Yannis Damigos &lt;giannis.damigos@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: android: fixed permissions style issue</title>
<updated>2016-09-27T11:08:05Z</updated>
<author>
<name>Eric Salem</name>
<email>ericsalem@gmail.com</email>
</author>
<published>2016-09-26T03:33:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8abcae443af7b502831faa302b1bed7e765234e1'/>
<id>urn:sha1:8abcae443af7b502831faa302b1bed7e765234e1</id>
<content type='text'>
Fixed a coding style issue. Changed symbolic permissions to octal.

Signed-off-by: Eric Salem &lt;ericsalem@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: ion: Align cases with switch</title>
<updated>2016-09-25T10:37:14Z</updated>
<author>
<name>Christopher Pezley</name>
<email>chris@pezley.net</email>
</author>
<published>2016-09-24T16:51:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ee928cb013f10c89b6779eebb80f514ad89feab2'/>
<id>urn:sha1:ee928cb013f10c89b6779eebb80f514ad89feab2</id>
<content type='text'>
The preferred indentation for cases and switches has the cases at
the same level as the switch.

Signed-off-by: Christopher H. Pezley &lt;chris@pezley.net&gt;
Acked-by: Laura Abbott &lt;labbott@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
