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>
This commit is contained in:
Pierre-Yves Kerbrat 2016-10-19 20:49:51 +02:00 committed by Greg Kroah-Hartman
parent ec0f85f8cc
commit 3ddaf64835
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}