On Thu, 11/17 18:44, Michael S. Tsirkin wrote:
> On Thu, Nov 17, 2016 at 06:16:12AM -0800, [email protected] wrote:
> > ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
> > #75: FILE: contrib/libvhost-user/libvhost-user.c:9:
> > + * Marc-Andr Lureau <[email protected]>
> > ^
> >
> > ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
> > #1579: FILE: contrib/libvhost-user/libvhost-user.h:8:
> > + * Marc-Andr Lureau <[email protected]>
> > ^
> >
> > total: 2 errors, 0 warnings, 1950 lines checked
>
> Any idea what's going on here?
Because of how patchew works, the patch email in question went through "git am",
"git push" then "git fetch", and eventually it's the output of "git show
--format=email" that is fed to checkpatch.pl. Something went wrong with these
git commands but I don't know why. :(
To reproduce the last step (which looks the most suspicious to me, maybe you
have an idea), try this on your machine:
$ git fetch https://github.com/patchew-project/qemu \
patchew/[email protected]
From https://github.com/patchew-project/qemu
* tag
patchew/[email protected] -> FETCH_HEAD
$ git show c19172474cd8da8375307b324344345ad7ad01ca --format=email \
| ./scripts/checkpatch.pl -
ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
#75: FILE: contrib/libvhost-user/libvhost-user.c:9:
+ * Marc-Andr� Lureau <[email protected]>
^
ERROR: Invalid UTF-8, patch and commit message should be encoded in UTF-8
#1579: FILE: contrib/libvhost-user/libvhost-user.h:8:
+ * Marc-Andr� Lureau <[email protected]>
^
total: 2 errors, 0 warnings, 1950 lines checked
Your patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
$
Fam