diff options
author | 2017-10-25 14:34:22 +0000 | |
---|---|---|
committer | 2017-10-25 14:34:22 +0000 | |
commit | a834c8533f497e61c4d5b0ce293443c0d0846be2 (patch) | |
tree | 7de7105ed18a211fc2aeb3dcc1c4410132f6ab8e /sys/dev/pci/if_ipw.c | |
parent | Default allow-rename to off because it is ridiculous that applications (diff) | |
download | wireguard-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