NTSTATUS trick for NTTIME?
tridge at samba.org
tridge at samba.org
Thu Mar 10 16:56:42 MST 2011
Hi Christoph,
> Did you guys ever look into the sparse address space annotations?
can sparse be used to warn about mixing of different integer types?
I so, that could be _really_ useful! We could get rid of the NTSTATUS
structure in that case as well.
looking at the sparse manpage, I think we'd need to declare NTTIME and
NTSTATUS as being __attribute__((bitwise)), then use -Wbitwise with
sparse. Does that sound right?
Cheers, Tridge
More information about the samba-technical
mailing list