From: Roel Kluin Date: Mon, 14 Oct 2013 21:21:15 +0000 (+0200) Subject: serial: vt8500: add missing braces X-Git-Tag: v3.12-rc6~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d969de8d83401683420638c8107dcfedb2146f37;p=pandora-kernel.git 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 Acked-by: Tony Prisk Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed