On 2018/05/08 18:09, Johannes Berg wrote:
On Tue, 2018-05-08 at 12:05 +0900, Masashi Honma wrote:
I am trying to backport from Linux 4.4
This will probably not work unless you use an old backports git tree
snapshot.
Thank you.
I am using linux-4.4.y branch of backports.
Do you mean older branch (like linux-4.2.y or linux-3.19.y or something)
should be used ?
No, looks fine - perhaps your spatch version isn't right? What version
do you have,
I am using a spatch binary build with latest git source because the
package is not enough fresh to build the backports. The version is this.
commit f9d474787c57f1d3cc3a73217e0f5d14ed958631
Author: julia <julia.lawall@xxxxxxx>
Date: Mon Apr 30 08:10:06 2018 +0200
make pragmas more flexible, improve positioning of eoln when pragma
at the end of a file
and what does it say if you run
mkdir /tmp/xyz && spatch --sp-file .../genl-const.cocci --dir /tmp/xyz
or something like that?
This is the result.
------------------
$ mkdir /tmp/xyz && spatch --sp-file
./patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci
--dir /tmp/xyz
init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h
meta: parse error:
File
"./patches/collateral-evolutions/network/0027-genl-const/genl-const.cocci",
line 2, column 10, charpos = 13
around = '__genl_const',
whole content = attribute __genl_const;
------------------
Regards,
Masashi Honma.
--
To unsubscribe from this list: send the line "unsubscribe backports" in