Skip to content

Commit

Permalink
Edit to mailbox_proto.h suggested by Marco Liess to resolve memcpy re…
Browse files Browse the repository at this point in the history
…lated compilation check.
  • Loading branch information
cneely-amd committed Jan 2, 2025
1 parent 659b6b7 commit 4c3c980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwmon/mailbox_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ struct xcl_mailbox_clock_freqscaling {
struct xcl_mailbox_req {
uint64_t flags;
int32_t req;
int32_t data[1]; /* variable length of payload from now on */
int32_t *data; /* variable length of payload from now on */
};

/**
Expand Down

0 comments on commit 4c3c980

Please sign in to comment.