]> Pileus Git - ~andy/linux/commit
thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Oct 2013 14:06:32 +0000 (16:06 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 20 Nov 2013 23:51:15 +0000 (18:51 -0500)
commitcab6661344f14a09d7aecdf821a40f68ef9b18cc
tree70f8e416b5af1ff6e3a31d6af483b3c39d54a9e6
parentab0431059ed0d0e3a9e532ad0488ada25021249d
thinkpad_acpi: Fix build error when CONFIG_SND_MAX_CARDS > 32

SNDRV_CARDS can be specified via Kconfig since 3.11 kernel, so this
can be over 32bit integer range, which leads to a build error.

Cc: <stable@vger.kernel.org> [v3.11+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/thinkpad_acpi.c