<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/dgap, branch v4.5</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.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-10-25T02:33:42Z</updated>
<entry>
<title>staging: dgap: add spaces around binary operator '|'</title>
<updated>2015-10-25T02:33:42Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ciorneiioana@gmail.com</email>
</author>
<published>2015-10-21T20:17:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a9108b71b1f7335149d68fbd166af7236ed60373'/>
<id>urn:sha1:a9108b71b1f7335149d68fbd166af7236ed60373</id>
<content type='text'>
This patch adds spaces around binary operator '|'.
Done with coccinelle semantic patch:

@@
identifier x, y, z;
@@
(
- x|y|z
+ x | y | z
|
- x|y
+ x | y
)

Signed-off-by: Ioana Ciornei &lt;ciorneiioana@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove unnecessary brackets</title>
<updated>2015-10-25T02:33:42Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ciorneiioana@gmail.com</email>
</author>
<published>2015-10-21T20:17:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=44209c93299efbc84eb8c29827b3132bf06f7e42'/>
<id>urn:sha1:44209c93299efbc84eb8c29827b3132bf06f7e42</id>
<content type='text'>
This patch removes unnecessary brackets when dealing with
unary operators like '&amp;'.
Done with coccinelle semantic patch:

@@
expression e;
@@

(
- &amp;(e)
+ &amp;e
)

Signed-off-by: Ioana Ciornei &lt;ciorneiioana@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove unnecessary space after cast</title>
<updated>2015-10-25T02:33:42Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ciorneiioana@gmail.com</email>
</author>
<published>2015-10-21T20:17:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=181225530e2f625869fb8ad242444d8efa8a478b'/>
<id>urn:sha1:181225530e2f625869fb8ad242444d8efa8a478b</id>
<content type='text'>
This patch removes unnecessary spaces after the cast.
Patch done with coccinelle semantic patch:

@rule0@
type t;
identifier e;
constant c;
expression expr;
@@

(
- (t) e
+ (t)e
|
- (t) c
+ (t)c
|
- (t) expr
+ (t)expr
)

Signed-off-by: Ioana Ciornei &lt;ciorneiioana@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: properly indent to match open paranthesis</title>
<updated>2015-10-25T02:33:42Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ciorneiioana@gmail.com</email>
</author>
<published>2015-10-21T20:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=629c7349a2e5bc6c5680c00b3e822b2384bf0523'/>
<id>urn:sha1:629c7349a2e5bc6c5680c00b3e822b2384bf0523</id>
<content type='text'>
Indent parameters and arguments passed to function calls to match
open paranthesis

Signed-off-by: Ioana Ciornei &lt;ciorneiioana@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove unnecessary blank lines</title>
<updated>2015-10-25T02:33:42Z</updated>
<author>
<name>Ioana Ciornei</name>
<email>ciorneiioana@gmail.com</email>
</author>
<published>2015-10-21T20:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb795c68479f9ada8e5a0d5b54af18fd54a951a5'/>
<id>urn:sha1:fb795c68479f9ada8e5a0d5b54af18fd54a951a5</id>
<content type='text'>
This patch removes the unnecessary blank lines before a closed
bracket and after an open bracket.

Signed-off-by: Ioana Ciornei &lt;ciorneiioana@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: dgap: Remove unnecessary test expression</title>
<updated>2015-10-17T06:06:38Z</updated>
<author>
<name>Shivani Bhardwaj</name>
<email>shivanib134@gmail.com</email>
</author>
<published>2015-10-16T16:39:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=258e7af2954fb68b55fe9253560f6dfaa4896e54'/>
<id>urn:sha1:258e7af2954fb68b55fe9253560f6dfaa4896e54</id>
<content type='text'>
struct bd is already NULL tested so, any further NULL checks should be
removed.

Signed-off-by: Shivani Bhardwaj &lt;shivanib134@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove unused configuration</title>
<updated>2015-10-13T04:09:47Z</updated>
<author>
<name>Sudip Mukherjee</name>
<email>sudipm.mukherjee@gmail.com</email>
</author>
<published>2015-10-04T15:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=35e942f3167a2ba18bd3db9c964183d81c130a7d'/>
<id>urn:sha1:35e942f3167a2ba18bd3db9c964183d81c130a7d</id>
<content type='text'>
The IO configuration was not used to configure the board. It was only
read from the configuration file. Stop reading it and also remove the
other related variables defined for it.

Signed-off-by: Sudip Mukherjee &lt;sudip@vectorindia.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: fix memory leak in dgap_parsefile()</title>
<updated>2015-09-30T10:26:20Z</updated>
<author>
<name>Ronit Halder</name>
<email>ronit.crj@gmail.com</email>
</author>
<published>2015-09-30T06:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5b62408ffe42ffce28e94bc5e7a6dec45e6456ee'/>
<id>urn:sha1:5b62408ffe42ffce28e94bc5e7a6dec45e6456ee</id>
<content type='text'>
In dgap_parsefile() char pointers are set with kstrdup()
without checking that some string is allocated to that
char pointer before. This patch frees the memory if already allocated
and then set the poniter with kstrdup().

Signed-off-by: Ronit halder &lt;ronit.crj@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: fix returned errno code in dgap_parsefile()</title>
<updated>2015-09-29T02:16:29Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2015-09-22T00:39:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e98631d83c84adfee9d33f04808a6e0eb2fa0345'/>
<id>urn:sha1:e98631d83c84adfee9d33f04808a6e0eb2fa0345</id>
<content type='text'>
The driver is using -1 instead of the -ENOMEM defined macro to specify
that a buffer allocation failed. Since the error number is propagated,
the caller will get a -EPERM which is the wrong error condition.

Also, the smatch tool complains with the following warning:

dgap_parsefile() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/dgap: Use strpbrk() instead of dgap_sindex()</title>
<updated>2015-09-13T01:24:57Z</updated>
<author>
<name>Alexander Kuleshov</name>
<email>kuleshovmail@gmail.com</email>
</author>
<published>2015-09-11T18:22:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b9f7f1d0846f15585b8af64435b6b706b25a5c0b'/>
<id>urn:sha1:b9f7f1d0846f15585b8af64435b6b706b25a5c0b</id>
<content type='text'>
The &lt;linux/string.h&gt; provides strpbrk() function that does
the same that the dgap_sindex(). Let's use already defined
function instead of writing custom.

Signed-off-by: Alexander Kuleshov &lt;kuleshovmail@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
