aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorRoel Kluin <[email protected]>2013-10-14 21:21:15 +0000
committerGreg Kroah-Hartman <[email protected]>2013-10-16 20:22:16 +0000
commitd969de8d83401683420638c8107dcfedb2146f37 (patch)
tree23daf8d46a552ae5105e9365be573d1e6e98fe98 /drivers/net/xen-netback/interface.c
parentRevert "serial: i.MX: evaluate linux,stdout-path property" (diff)
downloadkernel-d969de8d83401683420638c8107dcfedb2146f37.tar.gz
kernel-d969de8d83401683420638c8107dcfedb2146f37.zip
serial: vt8500: add missing braces
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 <[email protected]> Acked-by: Tony Prisk <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions