Re: [patch 0/1] updated version
From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-12-21 00:11:34
From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-12-21 00:11:34
On Wednesday 20 December 2006 15:45, Christian Krafft wrote:
I'm about to send an updated version, I added length check for the properties, DEFAULT_REGSIZE, simplified the comparison, I did not fix the compiler warning.
You should really fix the warning before sending the patch, ideally
you also check that you don't introduce new warnings found by 'sparse'.
Is the warning just about the cast from void* to enum? If so, you
need to replace that with a cast to unsigned long, like
enum { A, B, } e;
void *p;
p = (void *)(unsigned long)A;
e = (unsigned long)p;
Arnd <><