diff options
author | Pierre-Yves Kerbrat <pkerbrat@free.fr> | 2016-10-19 20:49:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-25 10:57:12 +0200 |
commit | 3ddaf64835d473e86494f2c8dc776f1962c86808 (patch) | |
tree | 3968bacb64a22a3e09baeae9e5b450d3fbc623cd /drivers/staging/rtl8188eu/os_dep | |
parent | ec0f85f8ccdd83ec1d93d560db8bafa51d2d735d (diff) | |
download | op-kernel-dev-3ddaf64835d473e86494f2c8dc776f1962c86808.zip op-kernel-dev-3ddaf64835d473e86494f2c8dc776f1962c86808.tar.gz |
staging: rtl8188eu: os_dep: fix missing spaces around operators
Fix missing space around operators in rtw_alloc2d function in
osdep_service.c
Signed-off-by: Pierre-Yves Kerbrat <pkerbrat@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/osdep_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index 534e58e..df5f440 100644 --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c +++ b/drivers/staging/rtl8188eu/os_dep/osdep_service.c @@ -42,14 +42,14 @@ void *rtw_malloc2d(int h, int w, int size) { int j; - void **a = kzalloc(h*sizeof(void *) + h*w*size, GFP_KERNEL); + void **a = kzalloc(h * sizeof(void *) + h * w * size, GFP_KERNEL); if (!a) { pr_info("%s: alloc memory fail!\n", __func__); return NULL; } for (j = 0; j < h; j++) - a[j] = ((char *)(a+h)) + j*w*size; + a[j] = ((char *)(a + h)) + j * w * size; return a; } |