Unverified Commit 74154ad9 authored by A1ive's avatar A1ive Committed by GitHub
Browse files

Fix iPXE '-Werror=zero-length-bounds' (#202)

parent 43fcd4f2
...@@ -85,13 +85,14 @@ struct san_device { ...@@ -85,13 +85,14 @@ struct san_device {
struct list_head opened; struct list_head opened;
/** List of closed SAN paths */ /** List of closed SAN paths */
struct list_head closed; struct list_head closed;
/** SAN paths */
struct san_path path[0];
unsigned int exdrive; unsigned int exdrive;
int int13_command; int int13_command;
void *x86_regptr; void *x86_regptr;
uint8_t boot_catalog_sector[2048]; uint8_t boot_catalog_sector[2048];
/** SAN paths */
struct san_path path[0];
}; };
/** SAN device flags */ /** SAN device flags */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment