Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317541
b: refs/heads/master
c: 50d4656
h: refs/heads/master
i:
  317539: 4c4de04
v: v3
  • Loading branch information
Marc Dietrich authored and Greg Kroah-Hartman committed Jun 25, 2012
1 parent 1f84c69 commit cbf979f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: f5e3352e5185ef37700da9a51c333559381fe8fd
refs/heads/master: 50d4656a2304e48917a8e2b9df99f69d50b8a0aa
4 changes: 3 additions & 1 deletion trunk/drivers/staging/nvec/nvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ EXPORT_SYMBOL_GPL(nvec_register_notifier);
static int nvec_status_notifier(struct notifier_block *nb,
unsigned long event_type, void *data)
{
struct nvec_chip *nvec = container_of(nb, struct nvec_chip,
nvec_status_notifier);
unsigned char *msg = (unsigned char *)data;

if (event_type != NVEC_CNTL)
return NOTIFY_DONE;

printk(KERN_WARNING "unhandled msg type %ld\n", event_type);
dev_warn(nvec->dev, "unhandled msg type %ld\n", event_type);
print_hex_dump(KERN_WARNING, "payload: ", DUMP_PREFIX_NONE, 16, 1,
msg, msg[1] + 2, true);

Expand Down

0 comments on commit cbf979f

Please sign in to comment.