Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   mrg
Date:           Sat Oct  5 23:27:21 UTC 2019

Modified Files:
        src/sys/dev/ic: anvar.h athnvar.h atwvar.h malovar.h mfireg.h nvmereg.h
            rt2560var.h rt2661var.h rt2860var.h rtwvar.h wivar.h
        src/sys/dev/pci: if_ipwvar.h if_iwmvar.h if_iwnvar.h if_rtwnreg.h
        src/sys/dev/usb: if_otusvar.h if_rumvar.h if_runvar.h if_upgtvar.h
            if_uralvar.h if_urtwnvar.h if_urtwreg.h if_zydreg.h
        src/sys/net80211: ieee80211_radiotap.h

Log Message:
remove __packed attribute from struct ieee80211_radiotap_header
and all the structures that include it.

this should not change anything while avoiding packed vs alignment
warnings from GCC 8, and potentially pessimised code generation
due to the packed marker (there are no misaligned members, just
that the per-device parts may end unaligned.)

all consumers of these members are done from the properly aligned
packet members directly, or, as a union with a 64 byte member,
also properly aligned.  codegen didn't appear to change, except
for the definition of sizeof(struct driver_[rt]x_radiotap_header)
in debug info, which is not directly used anywhere.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/anvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/athnvar.h
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/ic/atwvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/malovar.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ic/mfireg.h
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/nvmereg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/rt2560var.h
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/rt2661var.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/rt2860var.h
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/ic/rtwvar.h
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/ic/wivar.h
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/if_ipwvar.h \
    src/sys/dev/pci/if_iwmvar.h
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/if_iwnvar.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_rtwnreg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/if_otusvar.h \
    src/sys/dev/usb/if_zydreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/if_rumvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/usb/if_runvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/usb/if_upgtvar.h \
    src/sys/dev/usb/if_urtwreg.h
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/usb/if_uralvar.h \
    src/sys/dev/usb/if_urtwnvar.h
cvs rdiff -u -r1.24 -r1.25 src/sys/net80211/ieee80211_radiotap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index