Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100973
b: refs/heads/master
c: b7a39bd
h: refs/heads/master
i:
  100971: a170319
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jul 10, 2008
1 parent 19e99f2 commit c3a43e3
Show file tree
Hide file tree
Showing 3 changed files with 3 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: fd4f80de4612cc5255c108a8c13df88f89c46654
refs/heads/master: b7a39bd0afc4021e8ad2b1189e884551e147427f
2 changes: 1 addition & 1 deletion trunk/drivers/base/firmware_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ firmware_data_write(struct kobject *kobj, struct bin_attribute *bin_attr,
if (retval)
goto out;

memcpy(fw->data + offset, buffer, count);
memcpy((u8 *)fw->data + offset, buffer, count);

fw->size = max_t(size_t, offset + count, fw->size);
retval = count;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/firmware.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

struct firmware {
size_t size;
u8 *data;
const u8 *data;
};

struct device;
Expand Down

0 comments on commit c3a43e3

Please sign in to comment.