summaryrefslogtreecommitdiff
path: root/net/llc/llc_c_st.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-19 21:20:58 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2015-07-14 18:40:39 (GMT)
commit2b4aed1d1f119634d80d8c701873c2be01480aa9 (patch)
tree500f561873b11219eb7c7e2ad89d2f0a94532242 /net/llc/llc_c_st.c
parenteefaf338820ecd3fb14da496f8a740612257a341 (diff)
downloadlinux-2b4aed1d1f119634d80d8c701873c2be01480aa9.tar.xz
PCI: Shift PCI_CLASS_NOT_DEFINED consistently with other classes
The PCI class in dev->class is a three-byte value comprising a base class, sub-class, and interface type. PCI_CLASS_NOT_DEFINED includes the base class and sub-class, but not the interface type, so it should be shifted to make space for the interface. It happens that PCI_CLASS_NOT_DEFINED is zero, so it doesn't matter in the end, but we should still use it consistently with other class definitions. Treat PCI_CLASS_NOT_DEFINED as a base class/sub-class value that should appear in bits 8-23 of dev->class. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/llc/llc_c_st.c')
0 files changed, 0 insertions, 0 deletions