summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-01-02 03:25:49 +0000
committerDave Airlie <airlied@linux.ie>2006-01-02 03:25:49 +0000
commit42cd50fa905aea4fcdbab9ce39a54551a9a1baa9 (patch)
treefc98c3e2cf7ffb8386c20e21389ae736eaa8e245 /linux-core
parent26462b9aa47179e724e78f0b3b1c86fd07f61d8d (diff)
Realign via driver with changes in Linux kernel (mainly whitespace)
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/via_dmablit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-core/via_dmablit.c b/linux-core/via_dmablit.c
index 2b025a21..34c2c44e 100644
--- a/linux-core/via_dmablit.c
+++ b/linux-core/via_dmablit.c
@@ -631,8 +631,9 @@ via_build_sg_info(drm_device_t *dev, drm_via_sg_info_t *vsg, drm_via_dmablit_t *
return DRM_ERR(EINVAL);
}
#else
- if ((((unsigned long)xfer->mem_addr & 15) || ((unsigned long)xfer->fb_addr & 3)) ||
- (xfer->mem_stride & 15) || (xfer->fb_stride & 3)) {
+ if ((((unsigned long)xfer->mem_addr & 15) ||
+ ((unsigned long)xfer->fb_addr & 3)) || (xfer->mem_stride & 15) ||
+ (xfer->fb_stride & 3)) {
DRM_ERROR("Invalid DRM bitblt alignment.\n");
return DRM_ERR(EINVAL);
}