Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95507
b: refs/heads/master
c: 90fe17f
h: refs/heads/master
i:
  95505: b79b6c0
  95503: c991e35
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Len Brown committed Apr 29, 2008
1 parent 9f8035d commit 353a72e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a815ab8b5891f3d2515316655729272f68269e3b
refs/heads/master: 90fe17f4df2f830601ffd422b11d1f7f9a9d0355
2 changes: 1 addition & 1 deletion trunk/drivers/misc/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -5826,7 +5826,7 @@ static void __init get_thinkpad_model_data(struct thinkpad_id_data *tp)

tp->model_str = kstrdup(dmi_get_system_info(DMI_PRODUCT_VERSION),
GFP_KERNEL);
if (strnicmp(tp->model_str, "ThinkPad", 8) != 0) {
if (tp->model_str && strnicmp(tp->model_str, "ThinkPad", 8) != 0) {
kfree(tp->model_str);
tp->model_str = NULL;
}
Expand Down

0 comments on commit 353a72e

Please sign in to comment.