Renamed variable "IoBuffer" -> "io_buff" in in bcm_char_ioctl_reg_write_private(). Signed-off-by: Matthias Beyer <mail@xxxxxxxxxxxxxxxx> --- drivers/staging/bcm/Bcmchar.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index ee53df6..cf94eea 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -298,21 +298,21 @@ static int bcm_char_ioctl_reg_write_private(void __user *argp, struct bcm_mini_adapter *ad) { struct bcm_wrm_buffer wrm_buff = {0}; - struct bcm_ioctl_buffer IoBuffer; + struct bcm_ioctl_buffer io_buff; UINT uiTempVar = 0; INT Status; /* Copy Ioctl Buffer structure */ - if (copy_from_user(&IoBuffer, argp, sizeof(struct bcm_ioctl_buffer))) + if (copy_from_user(&io_buff, argp, sizeof(struct bcm_ioctl_buffer))) return -EFAULT; - if (IoBuffer.InputLength > sizeof(wrm_buff)) + if (io_buff.InputLength > sizeof(wrm_buff)) return -EINVAL; /* Get WrmBuffer structure */ - if (copy_from_user(&wrm_buff, IoBuffer.InputBuffer, - IoBuffer.InputLength)) + if (copy_from_user(&wrm_buff, io_buff.InputBuffer, + io_buff.InputLength)) return -EFAULT; uiTempVar = wrm_buff.Register & EEPROM_REJECT_MASK; -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel