Skip to contentSkip to conversation

checkpatch.pl Perl 5.22 deprecation

Qemu-devel Bastian Koppelmann 2 participants 3 messages Sep 4, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

Perl 5.22 has deprecated unescaped { inside a regexp, which leads to very annoying warnings. Since we use checkpatch from the Linux kernel, I found a corresponding patch [1] that fixes it. Do we just get the new checkpatch from the kernel, or do we integrate the patch ourself?

[1] https://lkml.org/lkml/2015/7/8/1049

Cheers,
Bastian

#1 lore raw
Quoted 8 lines · Bastian Koppelmann

Hi,

Perl 5.22 has deprecated unescaped { inside a regexp, which leads to very annoying warnings. Since we use checkpatch from the Linux kernel, I found a corresponding patch [1] that fixes it. Do we just get the new checkpatch from the kernel, or do we integrate the patch ourself?

[1] https://lkml.org/lkml/2015/7/8/1049

We've diverged a bit, so you'll have to cherry-pick the patch and propose it on list.

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
Quoted 12 lines · Eric Blake
Quoted 8 lines · Bastian Koppelmann

Hi,

Perl 5.22 has deprecated unescaped { inside a regexp, which leads to very annoying warnings. Since we use checkpatch from the Linux kernel, I found a corresponding patch [1] that fixes it. Do we just get the new checkpatch from the kernel, or do we integrate the patch ourself?

[1] https://lkml.org/lkml/2015/7/8/1049

We've diverged a bit, so you'll have to cherry-pick the patch and propose it on list.

Thanks, I'll do that.

Cheers,
Bastian