From 94254d1baec765b22cc5df3a9a16a8cc9a79d406 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 26 Aug 2014 10:55:51 +0300 Subject: [PATCH] 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-format-patch failed