Thread (2 messages) flat view 2 messages, 2 authors, 2012-03-08

Re: [PATCH] Bluetooth: Fix incorrect uninitialized assignment

From: Gustavo Padovan <hidden>
Date: 2012-03-08 05:23:51

Hi Andrei,

* Andrei Emeltchenko [off-list ref] [2012-03-07 14:51:45 +0200]:
From: Andrei Emeltchenko <redacted>

Revert part of commit 8035ded4 which has introduced bug by
assigning uninitialized value.

...
+ src/net/bluetooth/rfcomm/tty.c: warning: 'p' is used uninitialized in this
	function:  => 218
+ src/net/bluetooth/rfcomm/tty.c: warning: 'p' may be used uninitialized in
	this function:  => 218
...

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrei Emeltchenko <redacted>
---
 net/bluetooth/rfcomm/tty.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
I saw Luiz' fix for this before and I already applied it.
Also I prefer to keep the list_for_each_entry() call.

	Gustavo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help