backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Masashi Honma <masashi.honma@gmail.com>, backports@vger.kernel.org
Subject: Re: Failed to backport from from Linux 4.4 drivers to Linux 3.10.108
Date: Tue, 08 May 2018 11:09:09 +0200	[thread overview]
Message-ID: <1525770549.14830.1.camel@sipsolutions.net> (raw)
In-Reply-To: <149bc44e-f521-cf4a-397a-c8e42d00081b@gmail.com> (sfid-20180508_050515_355323_48A52193)

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.

> The gentree.py command resulted in these messages.
> ----
> Get original source files from git ...
> Applying patches from patches to /home/honma/git/linux-stable/backports/ ...
> Failed to process SmPL patch 
> collateral-evolutions/network/0027-genl-const/genl-const.cocci
> Traceback (most recent call last):
>    File "./gentree.py", line 1091, in <module>
>      ret = _main()
>    File "./gentree.py", line 724, in _main
>      logwrite=logwrite)
>    File "./gentree.py", line 906, in process
>      apply_patches(args, "backport", source_dir, 'patches', 
> bpid.target_dir, logwrite)
>    File "./gentree.py", line 605, in apply_patches
>      raise Exception('SmPL patch failed')
> Exception: SmPL patch failed

Then again, this shouldn't happen.

> Is this caused by my invalid procedure ?
> If so, please tell me right way.

No, looks fine - perhaps your spatch version isn't right? What version
do you have, and what does it say if you run

mkdir /tmp/xyz && spatch --sp-file .../genl-const.cocci --dir /tmp/xyz

or something like that?

johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in

  reply	other threads:[~2018-05-08  7:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-08  3:05 Failed to backport from from Linux 4.4 drivers to Linux 3.10.108 Masashi Honma
2018-05-08  9:09 ` Johannes Berg [this message]
2018-05-08  8:53   ` Masashi Honma
2018-05-08  9:08     ` Johannes Berg
2018-05-08 21:42       ` Masashi Honma
2018-05-09  7:21         ` Masashi Honma
2018-05-09  7:24           ` Johannes Berg
2018-05-09  7:54             ` Johannes Berg
2018-05-09  8:07               ` Masashi Honma
2018-05-09  8:12                 ` Johannes Berg
2018-05-09  8:51                   ` Masashi Honma
2018-05-09  9:03                     ` Johannes Berg
2018-05-09  9:16                       ` Masashi Honma
2018-05-09  9:24                       ` Masashi Honma
2018-05-09  9:25                         ` Johannes Berg
2018-05-09 14:19                           ` Steve deRosier
2018-05-09 18:49                             ` Arend van Spriel
2018-05-09 19:27                               ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525770549.14830.1.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=backports@vger.kernel.org \
    --cc=masashi.honma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).