Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275479
b: refs/heads/master
c: 66e13e6
h: refs/heads/master
i:
  275477: 2f81db2
  275475: c3a3162
  275471: 78d252f
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Nov 16, 2011
1 parent e411689 commit 7b0ea51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 5aecc85abdb9ac2b0e6548d13652a34142e7ae89
refs/heads/master: 66e13e66b6c4e5b2ecd6225e1f8437640cfb6498
6 changes: 2 additions & 4 deletions trunk/drivers/firmware/dmi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,14 +585,12 @@ int dmi_name_in_serial(const char *str)
}

/**
* dmi_name_in_vendors - Check if string is anywhere in the DMI vendor information.
* dmi_name_in_vendors - Check if string is in the DMI system or board vendor name
* @str: Case sensitive Name
*/
int dmi_name_in_vendors(const char *str)
{
static int fields[] = { DMI_BIOS_VENDOR, DMI_BIOS_VERSION, DMI_SYS_VENDOR,
DMI_PRODUCT_NAME, DMI_PRODUCT_VERSION, DMI_BOARD_VENDOR,
DMI_BOARD_NAME, DMI_BOARD_VERSION, DMI_NONE };
static int fields[] = { DMI_SYS_VENDOR, DMI_BOARD_VENDOR, DMI_NONE };
int i;
for (i = 0; fields[i] != DMI_NONE; i++) {
int f = fields[i];
Expand Down

0 comments on commit 7b0ea51

Please sign in to comment.