diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2014-08-18 12:38:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 12:58:29 -0700 |
commit | 2a2c9cea711348a4860e1ac0b414eea0e6f56bc2 (patch) | |
tree | aa25f1d5302e122d161cb7136defec7b3f6f6b51 /drivers/staging/bcm/Bcmchar.c | |
parent | 42e7f1df4e731df3d5e658852b80c0657b019b31 (diff) | |
download | linux-2a2c9cea711348a4860e1ac0b414eea0e6f56bc2.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging/bcm/Bcmchar.c')
-rw-r--r-- | drivers/staging/bcm/Bcmchar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm/Bcmchar.c b/drivers/staging/bcm/Bcmchar.c index 8b23ec947fd0..a491bb335b49 100644 --- a/drivers/staging/bcm/Bcmchar.c +++ b/drivers/staging/bcm/Bcmchar.c @@ -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)) { |