From: Dan Carpenter Date: Tue, 26 Aug 2014 07:55:51 +0000 (+0300) Subject: staging: comedi: amplc_pci230: fix a precedence bug X-Git-Tag: fixes-for-v3.18-merge-window~15^2~989 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94254d1baec765b22cc5df3a9a16a8cc9a79d406;p=pandora-kernel.git staging: comedi: amplc_pci230: fix a precedence bug The addition operation has higher precedence than ?: so this would write to PCI230_DACOUT1 instead of devpriv->daqio + PCI230_DACOUT1. Fixes: 4f9c63fe5333 ('staging: comedi: amplc_pci230: refactor iobase addresses') Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed