fix(scmi): fix compilation error in scmi base
Fix compilation error when scmi base in enabled.
The following compilation error is visible:
drivers/scmi-msg/base.c: In function 'discover_list_protocols':
include/lib/utils_def.h:70:20: error: comparison of distinct
pointer types lacks a cast [-Werror]
70 | (void)(&_x == &_y); \
| ^~
drivers/scmi-msg/base.c:154:25: note: in expansion of macro 'MIN'
154 | count = MIN(count - a2p->skip,
msg->out_size - sizeof(p2a));
Change-Id: I79e60d4bc9c4f6e78a76099a36ebf4fe5212a7d1
Signed-off-by: Michal Simek <michal.simek@amd.com>
1 file changed