artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c94020
)
avoid sequence-point warning with gcc 4.9
author
jsg
<jsg@openbsd.org>
Thu, 13 Sep 2018 03:38:15 +0000
(
03:38
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 13 Sep 2018 03:38:15 +0000
(
03:38
+0000)
ok kettenis@
sys/dev/pci/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_gem.c
b/sys/dev/pci/drm/i915/i915_gem.c
index
638f105
..
017d4ea
100644
(file)
--- a/
sys/dev/pci/drm/i915/i915_gem.c
+++ b/
sys/dev/pci/drm/i915/i915_gem.c
@@
-2777,7
+2777,7
@@
i915_gem_object_get_pages_gtt(struct drm_i915_gem_object *obj)
TAILQ_FOREACH(page, &plist, pageq) {
st->nents++;
sg_dma_address(sg) = VM_PAGE_TO_PHYS(page);
- sg_dma_len(sg) =
sg->length =
PAGE_SIZE;
+ sg_dma_len(sg) = PAGE_SIZE;
sg++;
i++;
}