Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323441
b: refs/heads/master
c: baacf9c
h: refs/heads/master
i:
  323439: 0b2e4ab
v: v3
  • Loading branch information
Bruno Prémont authored and Jiri Kosina committed Aug 15, 2012
1 parent 0dbc3da commit 3fc13dc
Show file tree
Hide file tree
Showing 2 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: b07072e6a27253b5eb7d21049a108449920b4c50
refs/heads/master: baacf9c5d2e631e7c940527ad670c8d4b019da81
4 changes: 2 additions & 2 deletions trunk/drivers/hid/hid-picolcd_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static ssize_t picolcd_debug_eeprom_write(struct file *f, const char __user *u,
memset(raw_data, 0, sizeof(raw_data));
raw_data[0] = *off & 0xff;
raw_data[1] = (*off >> 8) & 0xff;
raw_data[2] = min((size_t)20, s);
raw_data[2] = min_t(size_t, 20, s);
if (*off + raw_data[2] > 0xff)
raw_data[2] = 0x100 - *off;

Expand Down Expand Up @@ -370,7 +370,7 @@ static const struct file_operations picolcd_debug_flash_fops = {
/*
* Helper code for HID report level dumping/debugging
*/
static const char *error_codes[] = {
static const char * const error_codes[] = {
"success", "parameter missing", "data_missing", "block readonly",
"block not erasable", "block too big", "section overflow",
"invalid command length", "invalid data length",
Expand Down

0 comments on commit 3fc13dc

Please sign in to comment.