commit | dfbf0fd0786c2df44fcb8bbccd9a732fd4d1f9f3 | [log] [tgz] |
---|---|---|
author | Matt Johnston <matt@codeconstruct.com.au> | Mon Oct 28 14:40:29 2024 +0800 |
committer | Matt Johnston <matt@codeconstruct.com.au> | Thu Dec 12 11:35:40 2024 +0800 |
tree | 2dc0742991a3cc9d8415fdaefee1222dcea7f9f1 | |
parent | 86e9a97adf1793acdf4c0b95983be72b1ab0a3dc [diff] [blame] |
core: const input arg for mctp_pktbuf_push() Change-Id: I321c81ba86bf4d4dcd8f242d25ce4c9c2487b736 Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
diff --git a/core.c b/core.c index 9247b53..cc39dcf 100644 --- a/core.c +++ b/core.c
@@ -155,7 +155,7 @@ return buf; } -int mctp_pktbuf_push(struct mctp_pktbuf *pkt, void *data, size_t len) +int mctp_pktbuf_push(struct mctp_pktbuf *pkt, const void *data, size_t len) { void *p;