]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7a2962738ab99f804c68f3e7a0cc69217d61370
tree871b8cd8a1cce2a1a77b91fa8b9a75a70fa05a98
parente03722d28423ff800e368786bbe66cf1ef25825e
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