mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-24 11:02:51 +00:00
Merge branch 'pci/controller/hyperv'
- Annotate struct hv_dr_state with __counted_by to prepare for array access bounds checking (Kees Cook) * pci/controller/hyperv: PCI: hv: Annotate struct hv_dr_state with __counted_by
This commit is contained in:
@@ -545,7 +545,7 @@ struct hv_pcidev_description {
|
||||
struct hv_dr_state {
|
||||
struct list_head list_entry;
|
||||
u32 device_count;
|
||||
struct hv_pcidev_description func[];
|
||||
struct hv_pcidev_description func[] __counted_by(device_count);
|
||||
};
|
||||
|
||||
struct hv_pci_dev {
|
||||
|
||||
Reference in New Issue
Block a user