From f2abb7e39187b1a9584a24bf9a58c927cfe0d8c2 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 19 Dec 2006 14:44:15 +0100 Subject: [PATCH] --- yaml --- r: 47158 b: refs/heads/master c: dc041e0b1fc918562aa3803cda166fee219a34d2 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e232df4189c0..871c4b80bc3d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e4c3bf0f65ec9da8b067a722f734d1012ef12ceb +refs/heads/master: dc041e0b1fc918562aa3803cda166fee219a34d2 diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index 18bfc3993b8d..2be0ef9023b1 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -6590,7 +6590,7 @@ static int patch_alc262(struct hda_codec *codec) int board_config; int err; - spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); + spec = kzalloc(sizeof(*spec), GFP_KERNEL); if (spec == NULL) return -ENOMEM; @@ -7710,7 +7710,7 @@ static int patch_alc861(struct hda_codec *codec) int board_config; int err; - spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); + spec = kzalloc(sizeof(*spec), GFP_KERNEL); if (spec == NULL) return -ENOMEM;