Patchwork [7/7] kmod: upgrade to v17 via git

login
register
mail settings
Submitter Cristiana Voicu
Date April 18, 2014, 6:40 a.m.
Message ID <46e74ca3607e9681a7c7d684293836d829592f90.1397803089.git.cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/70659/
State New
Headers show

Comments

Cristiana Voicu - April 18, 2014, 6:40 a.m.
Just one patch has some small changes because the new code
has another fix for unaligned access.

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 meta/recipes-kernel/kmod/kmod.inc                  |    4 ++--
 ...alling-bswap_-instead-of-htobe-and-be-toh.patch |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc
index 47445eb..504a32f 100644
--- a/meta/recipes-kernel/kmod/kmod.inc
+++ b/meta/recipes-kernel/kmod/kmod.inc
@@ -16,9 +16,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                    "
 inherit autotools gtk-doc ptest
 
-SRCREV = "36c4bb928a6a7962dd0ad3aa64c0b18120ca5b46"
+SRCREV = "49d8e0b59052999de577ab732b719cfbeb89504d"
 # Lookout for PV bump too when SRCREV is changed
-PV = "16+git${SRCPV}"
+PV = "17+git${SRCPV}"
 
 SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git \
            file://depmod-search.conf \
diff --git a/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch b/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
index 82b83b3..5b4c8fa 100644
--- a/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
+++ b/meta/recipes-kernel/kmod/kmod/Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
@@ -29,8 +29,8 @@  index 6b80caa..3544a36 100644
  			modsig->hash >= PKEY_HASH__LAST ||
  			modsig->id_type >= PKEY_ID_TYPE__LAST)
  		return false;
--	sig_len = be32toh(modsig->sig_len);
-+	sig_len = bswap_32(modsig->sig_len);
+-	sig_len = be32toh(get_unaligned(&modsig->sig_len));
++	sig_len = bswap_32(get_unaligned(&modsig->sig_len));
  	if (size < (off_t)(modsig->signer_len + modsig->key_id_len + sig_len))
  		return false;