From 2d1effc903b40731a8359608bccd24c90678dd18 Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Mon, 16 Jan 2012 12:19:36 +0100 Subject: [PATCH 1/2] Fix a harmless error message --- bbswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbswitch.c b/bbswitch.c index 1c1d0be..043ff30 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -190,7 +190,7 @@ static int bbswitch_acpi_on(void) { char args[] = {1, 0, 0, 0}; u32 result = 0; - if (!acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args, + if (acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args, &result)) { // failure return 1; From b0712e51851a2b281664ba513dd48c5c812cae54 Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Mon, 16 Jan 2012 17:23:20 +0100 Subject: [PATCH 2/2] Update to version 0.4.1, update NEWS --- NEWS | 5 +++++ bbswitch.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 4cfec07..2f08c50 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +Version 0.4.1 - 16 January 2012 + +* Corrected a small error that yielded an confusing error message "The discrete + card could not be enabled by a _DSM call" + Version 0.4 - 15 January 2012 * Support for models that have a "3D controller" instead of "VGA compatible diff --git a/bbswitch.c b/bbswitch.c index 043ff30..269ceed 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -19,7 +19,7 @@ MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Toggle the discrete graphics card"); MODULE_AUTHOR("Peter Lekensteyn "); -MODULE_VERSION("0.4"); +MODULE_VERSION("0.4.1"); enum { CARD_UNCHANGED = -1,