From patchwork Thu Apr 18 08:46:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Henningsson X-Patchwork-Id: 237481 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id B07BA2C01E4 for ; Thu, 18 Apr 2013 18:46:41 +1000 (EST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1USkUA-00077q-D3; Thu, 18 Apr 2013 08:46:30 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1USkU7-00077l-Vv for kernel-team@lists.ubuntu.com; Thu, 18 Apr 2013 08:46:27 +0000 Received: from hd9483857.selulk5.dyn.perspektivbredband.net ([217.72.56.87] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1USkU7-0000pm-Qe; Thu, 18 Apr 2013 08:46:27 +0000 From: David Henningsson To: kernel-team@lists.ubuntu.com, 1169984@bugs.launchpad.net Subject: [PATCH] UBUNTU: SAUCE: Fix oops in patch_hdmi due to missing hda_gen_spec struct Date: Thu, 18 Apr 2013 10:46:27 +0200 Message-Id: <1366274787-5639-1-git-send-email-david.henningsson@canonical.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com A recent commit added calls to the snd_hda_*_fixup functions. Under kernel 3.8 and earlier these functions require a hda_gen_spec struct to be first in the spec struct, or memory corruption might occur. Buglink: https://bugs.launchpad.net/bugs/1169984 Signed-off-by: David Henningsson --- sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 6ae6331..1eee344 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -80,6 +80,7 @@ struct hdmi_spec_per_pin { }; struct hdmi_spec { + struct hda_gen_spec gen; int num_cvts; struct hdmi_spec_per_cvt cvts[MAX_HDMI_CVTS];