Commit bd8107b2 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

Staging: bcm: Bcmchar.c: Renamed variable: "RxCntrlMsgBitMask" -> "rx_cntrl_msg_bit_mask"

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b2318a1
...@@ -2264,7 +2264,7 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp, ...@@ -2264,7 +2264,7 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp,
{ {
struct bcm_ioctl_buffer io_buff; struct bcm_ioctl_buffer io_buff;
INT status = STATUS_FAILURE; INT status = STATUS_FAILURE;
ULONG RxCntrlMsgBitMask = 0; ULONG rx_cntrl_msg_bit_mask = 0;
/* Copy Ioctl Buffer structure */ /* Copy Ioctl Buffer structure */
status = copy_from_user(&io_buff, argp, status = copy_from_user(&io_buff, argp,
...@@ -2278,7 +2278,7 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp, ...@@ -2278,7 +2278,7 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp,
if (io_buff.InputLength != sizeof(unsigned long)) if (io_buff.InputLength != sizeof(unsigned long))
return -EINVAL; return -EINVAL;
status = copy_from_user(&RxCntrlMsgBitMask, io_buff.InputBuffer, status = copy_from_user(&rx_cntrl_msg_bit_mask, io_buff.InputBuffer,
io_buff.InputLength); io_buff.InputLength);
if (status) { if (status) {
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
...@@ -2287,8 +2287,8 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp, ...@@ -2287,8 +2287,8 @@ static int bcm_char_ioctl_cntrlmsg_mask(void __user *argp,
} }
BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL, BCM_DEBUG_PRINT(ad, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
"\n Got user defined cntrl msg bit mask :%lx", "\n Got user defined cntrl msg bit mask :%lx",
RxCntrlMsgBitMask); rx_cntrl_msg_bit_mask);
pTarang->RxCntrlMsgBitMask = RxCntrlMsgBitMask; pTarang->RxCntrlMsgBitMask = rx_cntrl_msg_bit_mask;
return status; return status;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment