summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_ipw.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2017-10-25 14:34:22 +0000
committerkettenis <kettenis@openbsd.org>2017-10-25 14:34:22 +0000
commita834c8533f497e61c4d5b0ce293443c0d0846be2 (patch)
tree7de7105ed18a211fc2aeb3dcc1c4410132f6ab8e /sys/dev/pci/if_ipw.c
parentDefault allow-rename to off because it is ridiculous that applications (diff)
downloadwireguard-openbsd-a834c8533f497e61c4d5b0ce293443c0d0846be2.tar.xz
wireguard-openbsd-a834c8533f497e61c4d5b0ce293443c0d0846be2.zip
Storing the address of a stack variable in a global variable is a bad idea.
Rework the code to store the relevant information in the softc. As a bonus, this reduces the stack space that is used such that this file compiles with clang. ok ians@
Diffstat (limited to 'sys/dev/pci/if_ipw.c')
0 files changed, 0 insertions, 0 deletions