mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
Staging: bcm: Bcmchar.c: Fixed debug output
The output prints some struct variable contents, but uses a wrong variable name. This is fixed by this patch. Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
42e7f1df4e
commit
2a2c9cea71
@@ -1750,13 +1750,13 @@ static int bcm_char_ioctl_flash2x_section_write(void __user *argp,
|
||||
return -EFAULT;
|
||||
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
|
||||
"\nsFlash2xRead.Section :%x", sFlash2xWrite.Section);
|
||||
"\nsFlash2xWrite.Section :%x", sFlash2xWrite.Section);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
|
||||
"\nsFlash2xRead.offset :%d", sFlash2xWrite.offset);
|
||||
"\nsFlash2xWrite.offset :%d", sFlash2xWrite.offset);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
|
||||
"\nsFlash2xRead.numOfBytes :%x", sFlash2xWrite.numOfBytes);
|
||||
"\nsFlash2xWrite.numOfBytes :%x", sFlash2xWrite.numOfBytes);
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, OSAL_DBG, DBG_LVL_ALL,
|
||||
"\nsFlash2xRead.bVerify :%x\n", sFlash2xWrite.bVerify);
|
||||
"\nsFlash2xWrite.bVerify :%x\n", sFlash2xWrite.bVerify);
|
||||
|
||||
if ((sFlash2xWrite.Section != VSA0) && (sFlash2xWrite.Section != VSA1)
|
||||
&& (sFlash2xWrite.Section != VSA2)) {
|
||||
|
||||
Reference in New Issue
Block a user