[PATCH] powerpc: RTC memory corruption
authorMichael Neuling <mikey@neuling.org>
Tue, 14 Mar 2006 06:11:51 +0000 (17:11 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 16 Mar 2006 05:55:03 +0000 (16:55 +1100)
commit0e8ed479125a6d246e17cfe6c24e140bfeb01972
treecf5ef655ed77c8f7c797e3aab696dbe2e90aedfb
parentc6cb3b5f368bae67c0b258cfebc0b9dbd8e1d929
[PATCH] powerpc: RTC memory corruption

We should be memset'ing the data we are pointing to, not the pointer
itself.  This is in an error path so we probably don't hit it much.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas-rtc.c