mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
dm: fix the secure coding style violations
There was some secure coding style violations of virtio net and tmp, this patch add some NULL check to fix these violations. Tracked-On: #6690 Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>
This commit is contained in:
@@ -27,7 +27,7 @@ struct acpi_dev_pt_ops {
|
||||
#define DEFINE_ACPI_PT_DEV(x) DATA_SET(acpi_dev_pt_ops_set, x);
|
||||
|
||||
struct mmio_dev *get_mmiodev(char *name);
|
||||
int get_mmio_hpa_resource(char *name, uint64_t *res_start, uint64_t *res_size);
|
||||
bool get_mmio_hpa_resource(char *name, uint64_t *res_start, uint64_t *res_size);
|
||||
int get_more_acpi_dev_info(char *hid, uint32_t instance, struct acpi_dev_pt_ops *ops);
|
||||
void acpi_dev_write_dsdt(struct vmctx *ctx);
|
||||
|
||||
|
Reference in New Issue
Block a user