Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40018
b: refs/heads/master
c: b95936c
h: refs/heads/master
v: v3
  • Loading branch information
Doug Warzecha authored and Linus Torvalds committed Oct 20, 2006
1 parent de42dd4 commit 88c8720
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 1cd441f99819abdd2d919ff13e8c75af58a0fd9c
refs/heads/master: b95936cb9267e4c90a0b92361609ef5fd85a0a5f
7 changes: 5 additions & 2 deletions trunk/drivers/firmware/dcdbas.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* See Documentation/dcdbas.txt for more information.
*
* Copyright (C) 1995-2005 Dell Inc.
* Copyright (C) 1995-2006 Dell Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License v2.0 as published by
Expand Down Expand Up @@ -40,7 +40,7 @@
#include "dcdbas.h"

#define DRIVER_NAME "dcdbas"
#define DRIVER_VERSION "5.6.0-2"
#define DRIVER_VERSION "5.6.0-3.2"
#define DRIVER_DESCRIPTION "Dell Systems Management Base Driver"

static struct platform_device *dcdbas_pdev;
Expand Down Expand Up @@ -175,6 +175,9 @@ static ssize_t smi_data_write(struct kobject *kobj, char *buf, loff_t pos,
{
ssize_t ret;

if ((pos + count) > MAX_SMI_DATA_BUF_SIZE)
return -EINVAL;

mutex_lock(&smi_data_lock);

ret = smi_data_buf_realloc(pos + count);
Expand Down

0 comments on commit 88c8720

Please sign in to comment.