aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2021-08-11 12:33:32 +0000
committerLorenzo Pieralisi <[email protected]>2021-08-19 14:37:51 +0000
commitf4455748b2126a9ba2bcc9cfb2fbcaa08de29bb2 (patch)
tree9f3933e15c24cae0983520bc978d735ab56e4a1a /drivers/misc/pci_endpoint_test.c
parentLinux 5.14-rc1 (diff)
downloadkernel-f4455748b2126a9ba2bcc9cfb2fbcaa08de29bb2.tar.gz
kernel-f4455748b2126a9ba2bcc9cfb2fbcaa08de29bb2.zip
PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
No functional change. As we are intending to add additional 1-bit members in struct j721e_pcie_data/struct cdns_pcie_rc, use bitfields instead of bool since it takes less space. As discussed in [1], the preference is to use bitfileds instead of bool inside structures. [1] -> https://lore.kernel.org/linux-fsdevel/CA+55aFzKQ6Pj18TB8p4Yr0M4t+S+BsiHH=BJNmn=76-NcjTj-g@mail.gmail.com/ Suggested-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions