Re: Corrected data type mismatch

2010-11-16 Thread Milton Miller
[added cc's based on from ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d, which added the patched line ] https://patchwork.kernel.org/patch/323022/ On Sun, 14 Nov 2010 around 02:06:59 -, Hai Shan wrote: Corrected data type mismatch This merely hides the type mismatch by force casting it.

Re: Corrected data type mismatch

2010-11-16 Thread DDD
Milton Miller wrote: [added cc's based on from ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d, which added the patched line ] https://patchwork.kernel.org/patch/323022/ On Sun, 14 Nov 2010 around 02:06:59 -, Hai Shan wrote: Corrected data type mismatch This merely hides the type mismatch by

Re: Corrected data type mismatch

2010-11-16 Thread bhs
On Nov 16, 2010, at 8:07 PM, DDD wrote: Milton Miller wrote: [added cc's based on from ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d, which added the patched line ] https://patchwork.kernel.org/patch/323022/ On Sun, 14 Nov 2010 around 02:06:59 -, Hai Shan wrote: Corrected data type mismatch

RE: Corrected data type mismatch

2010-11-16 Thread David Laight
OOPS! It is wrong here, The right one should be as following: - memcpy(mem, current-thread.evr[regno-32], + memcpy(mem, (void*)current-thread.evr[regno-32], dbg_reg_def[regno].size); The (void *) cast should be unnecessary David