libmctp icon indicating copy to clipboard operation
libmctp copied to clipboard

msg param in mctp_message_tx should be const ptr and ptr to const

Open crgeddes opened this issue 4 years ago • 0 comments

https://github.com/openbmc/libmctp/blob/ba6727e6d61d19720d4ca8756f465375adc82536/core.c#L610-L611

I appears that the value stored at the pointer and the value of the pointer itself are never altered so they should be labeled as const.

crgeddes avatar Jun 01 '20 18:06 crgeddes