git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8dbca1
)
drivers/vfio: Rework offsetofend()
author
Gavin Shan
<gwshan@linux.vnet.ibm.com>
Fri, 30 May 2014 17:35:54 +0000
(11:35 -0600)
committer
Alex Williamson
<alex.williamson@redhat.com>
Fri, 30 May 2014 17:35:54 +0000
(11:35 -0600)
The macro offsetofend() introduces unnecessary temporary variable
"tmp". The patch avoids that and saves a bit memory in stack.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
include/linux/vfio.h
patch
|
blob
|
history
diff --cc
include/linux/vfio.h
Simple merge