backports: use correct suspend/resume function for rtl8188ee

Upstream commit: 6bc60d332b7109c99cd5f5d5f8b7791f921289d6

The newly created function ends with _compat. This causes compile
warnings and probably runtime problems on kernel < 2.6.29.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backports: do not depend on PCI functions when PCI is disabled in the kernel

Upstream commit: 168beb7a3dad933d29f8e0dabd37db8cf189a4c7

This should prevent some compile errors when backports is used with a
kernel without PCI support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: fix typo in define

Upstream commit: 551f46cb4472f03bea0df808ef892ea8eb49a2af

This fixes a build error one some non x86 systems.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: add hid_alloc_report_buf()

Upstream commit: 1a996968fc51cc1323e1bedceb32143aa1226e9b

This is now in kernel 3.10+

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: Atheros atl1c needs build_skb(), do not build on < 3.5

Upstream commit: 09556c795e8afb6672893d41a05a6728c306e5f6

The Atheros atl1c driver now uses build_skb() which was added in 3.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backports: refresh patches on v3.10.17

1   2.6.25              [  OK  ]
2   2.6.26              [  OK  ]
3   2.6.27              [  OK  ]
4   2.6.28              [  OK  ]
5   2.6.29              [  OK  ]
6   2.6.30              [  OK  ]
7   2.6.31              [  OK  ]
8   2.6.32              [  OK  ]
9   2.6.33              [  OK  ]
10  2.6.34              [  OK  ]
11  2.6.35              [  OK  ]
12  2.6.36              [  OK  ]
13  2.6.37              [  OK  ]
14  2.6.38              [  OK  ]
15  2.6.39              [  OK  ]
16  3.0.98              [  OK  ]
17  3.1.10              [  OK  ]
18  3.10.14             [  FAIL  ]
19  3.11.3              [  FAIL  ]
20  3.12-rc3            [  FAIL  ]
21  3.2.51              [  OK  ]
22  3.3.8               [  OK  ]
23  3.4.64              [  OK  ]
24  3.5.7               [  OK  ]
25  3.6.11              [  OK  ]
26  3.7.10              [  OK  ]
27  3.8.13              [  OK  ]
28  3.9.11              [  OK  ]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
lib/bpgit.py: enable extra arguments on git describe

Upstream commit: ea70308d746325654d44851be602fe02492b59f9

This lets us throw at it whatever extra stuff we want.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpgit.py: add git status support

Upstream commit: 276bf778df6e33f66391e4cea9cbceb888db6f9d

We use --porcelain given that this spits out the results
in an easy-to-parse format for scripts and will remain stable
across git versions and regardless of user configuration.

We will use this later.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpgit.py: add git clean support

Upstream commit: 52aca1afb093baef20140b33d50426ecf80d3f6d

We'll use this later.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpgit.py: add git tree verification support

Upstream commit: 455aae0352d34e97fc5910927428c9f8ff44f77a

This verifies that the tree provided has its last commit
both tagged and also digitally signed. In short it does:

  git tag -v $(git describe --dirty)

This will be used later.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpgit.py: add support for git paranoia

Upstream commit: f9fa9dac70b99a2cf12b494a9fe4440404a30c4e

This cleans sanitizes a source tree and ensures
no content is present from what was intended.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpgpg.py: add simple gpg helper for gpg signing

Upstream commit: dcd5524fc04730b0af05b28388d246cad97a91c2

Note that kup expects --armor --detach-sign, we'll pass that
as part of our extra_args. The python gpg lib doesn't provide
support for random arguments as this one, so just add our
own little helper and carry it over.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
lib/bpkup.py: add or own kernel uploader helper lib

Upstream commit: 57554a365682979473778ffca9a9c5c82ab4dee6

kup is written in perl, add some basic python interfaces
for it to allow us to upload to kernel.org backport
releases.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
gentree.py: add kernel upload support

Upstream commit: 10eca9f5bef1821de09601a3a7db7eb337c56ba0

This streamlines our release process making it easier for
transitioning releases onto other backport developers.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
gentree.py: do not add full path into tar

Upstream commit: 515e82602216fc40a224f02f34d0a0f0c03c8309

dir_to_tar could be the absolute path to the directory to to tar, but
we do not want the full patch in the tar, just the basename.
In addition the second close is not necessary.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py: fix directory creating

Upstream commit: efdb6bbb9cd89d3174dbdecf02b79c0f294e3d10

The full path has to be provided not just the new directory to create.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py: log kup command before executing

Upstream commit: fdda21c96cc00461127a394e22eea3f7cb1119a5

Add a logging of the next command to be executed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py: add ending slash to upload path

Upstream commit: 3455026991cda1129ae313830ecd7386f75362a5

the filename in kup put should end with a slash otherwise it tried to
overwrite this file.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
genlib: add missing slash to korg_path for stable

Upstream commit: 4fb89169e8a5969388b16771695452f55ceb43e6

Without this slash it wants to use the directory /backportsstable/

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py: add v as prefix for stable folder name

Upstream commit: 72657d3ff7c144a85b0b916c81bfeaa54e2d623f

The folder name did not started with an v.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>