diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2013-10-14 23:21:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-04 04:35:21 -0800 |
commit | 7c0cc784b789f951372fd8859b40969fec27810e (patch) | |
tree | 0c01a909d40cc882a3ad3a8fa0e568e2f849b300 /net/lapb/lapb_timer.c | |
parent | 60fd01d9c7c5114e2bafaf5c57d2300aa9559c02 (diff) |
serial: vt8500: add missing braces
commit d969de8d83401683420638c8107dcfedb2146f37 upstream.
Due to missing braces on an if statement, in presence of a device_node a
port was always assigned -1, regardless of any alias entries in the
device tree. Conversely, if device_node was NULL, an unitialized port
ended up being used.
This patch adds the missing braces, fixing the issues.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions