aboutsummaryrefslogtreecommitdiff
path: root/include/linux/unaligned
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-05-30 11:35:54 -0600
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:32 +0200
commit12ce625e761647cacc2853fdc42b2b8b65ed6175 (patch)
tree74ad8239e93e74d3da0bd07f0f726304a5282c1d /include/linux/unaligned
parentbf7cbf18fba993ab2727e180336baf80587a2788 (diff)
drivers/vfio: Rework offsetofend()
commit b13460b92093b29347e99d6c3242e350052b62cd upstream. 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> [wt: backported only for ipv6 out-of-bounds fix] Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/unaligned')
0 files changed, 0 insertions, 0 deletions