OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea6b8f
)
drm/i915: fix if statement (bogus semi-colon)
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 28 Oct 2011 11:42:41 +0000
(14:42 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 8 Nov 2011 10:50:18 +0000
(10:50 +0000)
The semi-colon is a typo here and it makes the if statement
unconditional.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/char/agp/intel-gtt.c
patch
|
blob
|
history
diff --git
a/drivers/char/agp/intel-gtt.c
b/drivers/char/agp/intel-gtt.c
index
66cd0b8
..
3a8d448
100644
(file)
--- a/
drivers/char/agp/intel-gtt.c
+++ b/
drivers/char/agp/intel-gtt.c
@@
-1236,7
+1236,7
@@
static int i9xx_setup(void)
intel_private.gtt_bus_addr = reg_addr + gtt_offset;
}
- if (needs_idle_maps())
;
+ if (needs_idle_maps())
intel_private.base.do_idle_maps = 1;
intel_i9xx_setup_flush();