diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-05-29 13:04:09 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-07-19 22:54:19 +0200 |
commit | 91b678c8edb7d8abd444705df63b80af31ad13e8 (patch) | |
tree | 09a87ea350407ae6adf607ca5a770afbefbf15de /arch/frv | |
parent | alpha: kernel: using memcpy() instead of strcpy() (diff) | |
download | linux-91b678c8edb7d8abd444705df63b80af31ad13e8.tar.xz linux-91b678c8edb7d8abd444705df63b80af31ad13e8.zip |
alpha: kernel: typo issue, using '1' instead of '11'
For sending message:
*(unsigned int *)&cpu->ipc_buffer[0] = len;
cp1 = (char *) &cpu->ipc_buffer[1];
But for receive message:
cnt = cpu->ipc_buffer[0] >> 32;
...
cp1 = (char *) &cpu->ipc_buffer[11];
They are not pairs, it is typo issue of the redundency '1'.
So need use '1' instead of '11'.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions