diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-10-21 06:46:02 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-21 02:05:31 -0400 |
commit | 0420dd121d395e76f6b80fe232e7b4bc6a046f18 (patch) | |
tree | b45a5dbd3e1dda91eb92f856063146563f8f6f2a /fs/stat.c | |
parent | b181d3b0121e141cb410ea3126b4dbe4f8e1751a (diff) |
[PATCH] enum safety (sata_qstor)
sata_qstor strays into a nasty area - gcc handling of wide enums is
full of bugs that got fixed between gcc versions creating portability
nightmare. Single-member enums are safe, so are ones that stay within
the range of int or unsigned int. Anything beyond that is asking for
trouble.
Declaration of constants split in two enums, taking the ~0UL one into
a separate enum.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions