samples: mpssd: fix the build errors when enable DEBUG in mpssd.c
authorSherry Sun <sherry.sun@nxp.com>
Fri, 25 Sep 2020 07:18:28 +0000 (15:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 09:38:39 +0000 (11:38 +0200)
commitb31de43c608ffaa83e67a410ba58d678ff405f55
tree871b8cd8a1cce2a1a77b91fa8b9a75a70fa05a98
parent4292aa977f5eda0bce4a2c221260e7c2014cb0c2
samples: mpssd: fix the build errors when enable DEBUG in mpssd.c

If enable DEBUG, will meet the following errors when build mpssd, so fix
them here. Only one error is listed here, other errors are similar.

mpssd.c: In function ‘virtio_net’:
mpssd.c:615:21: error: incompatible type for argument 2 of ‘disp_iovec’
     disp_iovec(mic, copy, __func__, __LINE__);
                     ^~~~
mpssd.c:361:1: note: expected ‘struct mic_copy_desc *’ but argument is of type ‘struct mic_copy_desc’
 disp_iovec(struct mic_info *mic, struct mic_copy_desc *copy,
 ^~~~~~~~~~

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20200925071831.8025-2-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
samples/mic/mpssd/mpssd.c