From ae7d2017c68f5c2c4c5349cde730936823387c3b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 9 Jan 2013 10:09:19 +0300 Subject: [PATCH] --- yaml --- r: 354003 b: refs/heads/master c: cb9cc9cae9ebde1148e48c9682205af8518ec0c9 h: refs/heads/master i: 354001: 98f290abd230dc1aad4f21907f2ed5136ba92d11 353999: 3e80cc476bcc5debcfe8bd59ca166e8768a50a51 v: v3 --- [refs] | 2 +- trunk/drivers/staging/bcm/Bcmchar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 327ef60ec9cc..53f4177218c9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b3d07cf5a1045130057ebf39282092c31ceca185 +refs/heads/master: cb9cc9cae9ebde1148e48c9682205af8518ec0c9 diff --git a/trunk/drivers/staging/bcm/Bcmchar.c b/trunk/drivers/staging/bcm/Bcmchar.c index 4ba1a5d1bf96..491e2bfbc464 100644 --- a/trunk/drivers/staging/bcm/Bcmchar.c +++ b/trunk/drivers/staging/bcm/Bcmchar.c @@ -1792,7 +1792,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) if (IoBuffer.OutputLength < sizeof(struct bcm_flash_cs_info)) return -EINVAL; - if (copy_to_user(IoBuffer.OutputBuffer, Adapter->psFlashCSInfo, sizeof(struct bcm_flash2x_cs_info))) + if (copy_to_user(IoBuffer.OutputBuffer, Adapter->psFlashCSInfo, sizeof(struct bcm_flash_cs_info))) return -EFAULT; } }