On Thu, 11/17 18:44, Michael S. Tsirkin wrote:
> On Thu, Nov 17, 2016 at 06:16:12AM -0800, no-re...@patchew.org 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 <mlur...@redhat.com>
> >               ^
> > 
> > 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 <mlur...@redhat.com>
> >               ^
> > 
> > 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/1478887767-31980-1-git-send-email-...@redhat.com
    From https://github.com/patchew-project/qemu
     * tag               
patchew/1478887767-31980-1-git-send-email-...@redhat.com -> 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 <mlur...@redhat.com>
                  ^

    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 <mlur...@redhat.com>
                  ^

    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

Reply via email to