<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/dgap, branch v4.0</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.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-25T12:08:13Z</updated>
<entry>
<title>staging: dgap: fix "if" statement that always evaluates to true</title>
<updated>2015-01-25T12:08:13Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2015-01-23T11:44:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce5b615bc29273de705188e8a827dd7663069602'/>
<id>urn:sha1:ce5b615bc29273de705188e8a827dd7663069602</id>
<content type='text'>
cppcheck warning:
(warnning) Logical disjunction always evaluates to true

Reported-by: David Binderman &lt;dcb314@hotmail.com&gt;
Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: use gotos for handling error in dgap_remap()</title>
<updated>2015-01-18T00:10:48Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-12-26T01:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aa9895da3e2e6aa2674ffa54b3b927503cc47b49'/>
<id>urn:sha1:aa9895da3e2e6aa2674ffa54b3b927503cc47b49</id>
<content type='text'>
Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Drivers:staging:dgap: Added a blank line after declaration</title>
<updated>2014-11-26T22:00:22Z</updated>
<author>
<name>Anjana Sasindran</name>
<email>anjanasasindran123@gmail.com</email>
</author>
<published>2014-11-20T18:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d268b50eb21d06cffe949ed3c1c05f1bf9939916'/>
<id>urn:sha1:d268b50eb21d06cffe949ed3c1c05f1bf9939916</id>
<content type='text'>
This patch fixes the checkpatch.pl warning:

WARNING:Missing a blank line after declaration

Signed-off-by: Anjana Sasindran &lt;anjanasasindran123@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: introducing find_board_by_major()</title>
<updated>2014-11-07T17:30:22Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-11-06T10:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=48d43be475e48f5673b89c1faa6f7855d25f9a85'/>
<id>urn:sha1:48d43be475e48f5673b89c1faa6f7855d25f9a85</id>
<content type='text'>
use find_board_by_major function instead of getting a brd from static
arrary. Becasue tty's major number doesn't start zero and we can
find a brd from dgap_board[].

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove useless variables for saving tty's major</title>
<updated>2014-11-07T17:30:22Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-11-06T10:27:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c5dbca65bb0d2f5e940ca64d0876581f411d1a6'/>
<id>urn:sha1:4c5dbca65bb0d2f5e940ca64d0876581f411d1a6</id>
<content type='text'>
The board_t has a tty_struct(serial_driver and print_driver)
that has a major number. When major number is compared in
dgap_tty_open(), just use brd-&gt;serial_driver{print_driver}-&gt;major.

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: fix memory leak caused by double allocation of tty_structs</title>
<updated>2014-11-07T17:30:22Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-11-06T10:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=429161d164491f430ddbc591f45dc2cd39e0e8a1'/>
<id>urn:sha1:429161d164491f430ddbc591f45dc2cd39e0e8a1</id>
<content type='text'>
The tty_struct of serial_driver and print_driver were getting
allocated twice. One is allocated in tty_alloc_driver(), the other
is in dgap_tty_register(). So remove these in dgap_tty_register().

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: set tty's flags by tty_alloc_driver()</title>
<updated>2014-11-07T17:30:21Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-11-06T10:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dc3cfcd3f4804c9bf71e3b6152df6eb957856735'/>
<id>urn:sha1:dc3cfcd3f4804c9bf71e3b6152df6eb957856735</id>
<content type='text'>
tty's flags can be set by calling tty_alloc_driver().

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: remove unnecessary function</title>
<updated>2014-11-05T22:49:14Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-11-05T08:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=deaa2c2021c2c00401933f84023bfc4c0a60e281'/>
<id>urn:sha1:deaa2c2021c2c00401933f84023bfc4c0a60e281</id>
<content type='text'>
The dgap_init_global() initialize the dgap_board
that is a global variable as static and dgap_poll_timer.
But init_timer() is called twice in dgap_start() and dgap_board
doesn't need to be initialized to NULL.

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: re-arrange functions for removing forward declarations</title>
<updated>2014-11-04T00:24:56Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-10-31T01:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b2cf5c8402bb313c0054b2cd7df5ca50f250a1d'/>
<id>urn:sha1:0b2cf5c8402bb313c0054b2cd7df5ca50f250a1d</id>
<content type='text'>
Re-arrange the functions for removing forward declarations.

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Tested-by: Mark Hounschell &lt;markh@compro.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: dgap: Remove useless cast on NULL</title>
<updated>2014-10-30T20:09:15Z</updated>
<author>
<name>Tapasweni Pathak</name>
<email>tapaswenipathak@gmail.com</email>
</author>
<published>2014-10-30T12:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8d34a817bc0041ba2f0ee09e40c18c7161e2c2d'/>
<id>urn:sha1:d8d34a817bc0041ba2f0ee09e40c18c7161e2c2d</id>
<content type='text'>
Cast on NULL to a pointer type is not required. This
patch removes NULL casted to some pointer type.

The sematic patch used is:
@r@
type T;
@@
- (T *)NULL
+ NULL

Build tested it.

Signed-off-by: Tapasweni Pathak &lt;tapaswenipathak@gmail.com&gt;
Reviewed-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
