Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104764
b: refs/heads/master
c: b98cb4b
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 22, 2008
1 parent 5ab2c7d commit e5f0d90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: ca52a49846f1451163c0dc14c40cd06ff808df3e
refs/heads/master: b98cb4b7fe0e83238501b48489e46b3e0dce9aaf
4 changes: 2 additions & 2 deletions trunk/drivers/memstick/host/jmb38x_ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct jmb38x_ms_host {
void __iomem *addr;
spinlock_t lock;
int id;
char host_id[DEVICE_ID_SIZE];
char host_id[32];
int irq;
unsigned int block_pos;
unsigned long timeout_jiffies;
Expand Down Expand Up @@ -781,7 +781,7 @@ static struct memstick_host *jmb38x_ms_alloc_host(struct jmb38x_ms *jm, int cnt)

spin_lock_init(&host->lock);
host->id = cnt;
snprintf(host->host_id, DEVICE_ID_SIZE, DRIVER_NAME ":slot%d",
snprintf(host->host_id, sizeof(host->host_id), DRIVER_NAME ":slot%d",
host->id);
host->irq = jm->pdev->irq;
host->timeout_jiffies = msecs_to_jiffies(1000);
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <asm/atomic.h>
#include <asm/device.h>

#define DEVICE_ID_SIZE 32
#define BUS_ID_SIZE 20

struct device;
Expand Down

0 comments on commit e5f0d90

Please sign in to comment.