backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wan-Hua Chang <winnie.chang@cypress.com>
To: backports@vger.kernel.org
Cc: chln@cypress.com
Subject: Backports gentree fail with v4.12
Date: Wed, 14 Mar 2018 04:44:26 -0500	[thread overview]
Message-ID: <20180314094425.GA169496@aremote01.aus.cypress.com> (raw)

Hi,
 
I am using backports.git and linux-stable.git to create backports
backage. When linux-stable.git is master branch, below command is done
successfully. 
 
./gentree.py --gitdebug --clean --copy-list ./copy-list.brcmfmac
--verbose ~/linux-stable ~/output/master-backports
 
But when set the linux-stable.git version to v4.12 with below command, I
found four errors during gentree and compile output package when I skip
these errors and continue. Please suggest how to fix them. Thanks!
 
./gentree.py --gitdebug --clean --git-revision v4.12 --copy-list
./copy-list.brcmfmac --verbose ~/linux-stable ~/output/v4.12-backports
 
(1)
Get original source files from git ...
...
IOError: [Errno 2] No such file or directory:
'~/stable-v4.12-backports/compat/lib-bucket_locks.c'
 
(2)
...
Applying patch 0079-netdev-destructor/brcmfmac.patch
> patching file drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
> Hunk #1 succeeded at 452 (offset -10 lines).
> Hunk #2 FAILED at 651.
> 1 out of 2 hunks FAILED -- saving rejects to file
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c.rej
 
(3)
...
Applying patch lib-rhashtable.patch
> patching file compat/lib-rhashtable.c
> Hunk #2 FAILED at 226.
> 1 out of 2 hunks FAILED -- saving rejects to file
> compat/lib-rhashtable.c.rej
 
(4) 
When compile the output package(v4.12-backports), below compiling error
is seen. The reason is genl_dump_check_consistent still has three
parameters in v4.12, but it has been defined as two parameters.
 
cd ~/output/v4.12-backports
make KLIB=~/linux_4.1.15 KLIB_BUILD=~/linux_4.1.15 modules

... 
~/output/v4.12-backports/net/wireless/nl80211.c: In function
'nl80211_send_regdom':
~/output/v4.12-backports/backport-include/backport/backport.h:10:31:
error: too many arguments to function
'backport_genl_dump_check_consistent'
 #define LINUX_BACKPORT(__sym) backport_ ##__sym
                               ^
...

Thanks for the project,
Winnie

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

             reply	other threads:[~2018-03-14  9:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14  9:44 Wan-Hua Chang [this message]
2018-03-21  8:18 ` Backports gentree fail with v4.12 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=20180314094425.GA169496@aremote01.aus.cypress.com \
    --to=winnie.chang@cypress.com \
    --cc=backports@vger.kernel.org \
    --cc=chln@cypress.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).