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:
commit
7fa8fe0bd9
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ struct hv_pcidev_description {
|
||||||
struct hv_dr_state {
|
struct hv_dr_state {
|
||||||
struct list_head list_entry;
|
struct list_head list_entry;
|
||||||
u32 device_count;
|
u32 device_count;
|
||||||
struct hv_pcidev_description func[];
|
struct hv_pcidev_description func[] __counted_by(device_count);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct hv_pci_dev {
|
struct hv_pci_dev {
|
||||||
|
|
Loading…
Add table
Reference in a new issue