<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/dgap, branch v3.13</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=v3.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-10-11T22:36:30Z</updated>
<entry>
<title>staging: dgap: dgap_tty: Do not use 0 for pointers</title>
<updated>2013-10-11T22:36:30Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-10-09T10:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53fa1f4f1f5234cc2b91b491f00cfa089733c626'/>
<id>urn:sha1:53fa1f4f1f5234cc2b91b491f00cfa089733c626</id>
<content type='text'>
0 should not be used instead of NULL for pointers.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: dgap_fep5: Do not use 0 for NULL pointer</title>
<updated>2013-10-11T22:36:30Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-10-09T10:28:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fa5cd4cf1bd71ee8535cda0799fae40bb89a2243'/>
<id>urn:sha1:fa5cd4cf1bd71ee8535cda0799fae40bb89a2243</id>
<content type='text'>
Do not compare NULL pointer with 0.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: dgap_fep5: Remove braces around return</title>
<updated>2013-10-11T22:36:30Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-10-09T10:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b5aff00a7d715e308b6de469866446453ac03d8'/>
<id>urn:sha1:0b5aff00a7d715e308b6de469866446453ac03d8</id>
<content type='text'>
Braces are not needed around return values.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: dgap_fep5: Remove braces around single line statements</title>
<updated>2013-10-11T22:36:30Z</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-10-09T10:28:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=565c509587666b0652690ebde9e2b7390a9e61b6'/>
<id>urn:sha1:565c509587666b0652690ebde9e2b7390a9e61b6</id>
<content type='text'>
Single line statements do not require braces.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: tty.c: removes smatch warnings "redundant null check"</title>
<updated>2013-09-25T23:18:10Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-09-23T22:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fcfeef6c5144c3759f84edafd24eb4e74343c820'/>
<id>urn:sha1:fcfeef6c5144c3759f84edafd24eb4e74343c820</id>
<content type='text'>
This patch removes these smatch warnings:
redundant null check on dgap_TmpWriteBuf calling kfree()
redundant null check on brd-&gt;SerialDriver-&gt;ttys calling kfree()
redundant null check on brd-&gt;PrintDriver-&gt;ttys calling kfree()

The code checked to see if these variables are null
before freeing. This check isn't needed.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: tty.c: removes smatch warning "ignoring unreachable code"</title>
<updated>2013-09-25T23:18:10Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-09-23T22:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=913b6f8e0dccadb1189e945d7438047d59efe785'/>
<id>urn:sha1:913b6f8e0dccadb1189e945d7438047d59efe785</id>
<content type='text'>
This patch removes this smatch warning:
info: ignoring unreachable code.

There were instances where there was extra code after
the default action in switch statements. These default
actions ended with a break so the code wasn't being run
at anytime. This patch removes that extra code.

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: driver.c: removes smatch warning "redundant null check"</title>
<updated>2013-09-25T23:09:24Z</updated>
<author>
<name>Lidza Louina</name>
<email>lidza.louina@gmail.com</email>
</author>
<published>2013-09-23T22:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=57a42192e61e7d0074fa6027e2565461bfd60147'/>
<id>urn:sha1:57a42192e61e7d0074fa6027e2565461bfd60147</id>
<content type='text'>
This patch removes these smatch warnings from dgap_driver.c:

redundant null check on dgap_config_buf calling kfree()
redundant null check on brd-&gt;flipbuf calling kfree()
redundant null check on brd-&gt;flipflagbuf calling kfree()

Signed-off-by: Lidza Louina &lt;lidza.louina@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers: staging: dgap: move DG_NAME and DG_PART from "Makefile" to "dgap_driver.h"</title>
<updated>2013-09-25T23:09:24Z</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen@asianux.com</email>
</author>
<published>2013-09-21T12:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6319c61aecc7acaf39a1dc0e81a8aac6a17499ee'/>
<id>urn:sha1:6319c61aecc7acaf39a1dc0e81a8aac6a17499ee</id>
<content type='text'>
Normally, the macros from command line are system specific macros (e.g
__linux, __KERNEL__ ...), and module own macros are usually defined in
their header files.

DG_NAME and DG_PART are driver 'dgap' owned macros which are used by
multiple files within driver, and need be defined in the driver main
header file.

So move DG_NAME and DG_PART to "dgap_driver.h", it not only can make
code clearer, but also can avoid compiling failure when EXTRA_CFLAGS
appended to make command line (e.g. "EXTRA_CFLAGS=-W").

Signed-off-by: Chen Gang &lt;gang.chen@asianux.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge 3.12-rc2 into staging-next.</title>
<updated>2013-09-25T15:59:04Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-09-25T15:59:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2aad1d5716c5f7fa5deb4a96e6b6a4e9f24e78b'/>
<id>urn:sha1:e2aad1d5716c5f7fa5deb4a96e6b6a4e9f24e78b</id>
<content type='text'>
This resolves the merge problem with two iio drivers that Stephen
Rothwell pointed out.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: Fix typo in staging/dgap</title>
<updated>2013-09-17T14:47:46Z</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2013-09-13T15:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5fc6f1aebeb3dd815b378f4e02d93b770387c3a7'/>
<id>urn:sha1:5fc6f1aebeb3dd815b378f4e02d93b770387c3a7</id>
<content type='text'>
Correct spelling typo in comments.

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