From: Rafael J. Wysocki Date: Sat, 27 Sep 2014 23:27:42 +0000 (+0200) Subject: ACPI / SBS: Fix check in acpi_ac_get_present() X-Git-Tag: fixes-against-v3.18-rc2~138^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5159e39bdf119613adc6556901ae2d2e5e027551;p=pandora-kernel.git ACPI / SBS: Fix check in acpi_ac_get_present() Parentheses are missing under an if () statement in acpi_ac_get_present() which makes the check work differently from what was intended (at least according to the comment right above it). Add the missing parens. The problem was found by sparse. Signed-off-by: Rafael J. Wysocki Cc: All applicable --- Reading git-diff-tree failed