Skip to contentSkip to conversation

A possible typo defining MAX_INT in reiserfs_fs.h ?

DISCUSSION Colin Ian King 3 participants 3 messages Jul 30, 2008

lore
Share & tools
lore
#0 lore raw

Hi there,

This is a very quick question about a possible typo:

In include/linux/reiserfs_fs.h

there are the lines:

#define MAX_UL_INT 0xffffffff
#define MAX_INT 0x7ffffff

Should MAX_INT should be "0x7fffffff" rather than "0x7ffffff"?

Thanks for any clarification,

Colin King.

#1 lore raw
Quoted 11 lines · Colin Ian King

Hi there,

This is a very quick question about a possible typo:

In include/linux/reiserfs_fs.h

there are the lines:

#define MAX_UL_INT 0xffffffff
#define MAX_INT 0x7ffffff

^^^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 4 lines

Should MAX_INT should be "0x7fffffff" rather than "0x7ffffff"?

Thanks for any clarification,

I would suggest a version that this line is unused garbage. Any opinions?

Thanks,
Edward.

#2 lore raw
Quoted 12 lines · Edward Shishkin
Quoted 11 lines · Colin Ian King

Hi there,

This is a very quick question about a possible typo:

In include/linux/reiserfs_fs.h

there are the lines:

#define MAX_UL_INT 0xffffffff
#define MAX_INT 0x7ffffff

Quoted 8 lines

^^^^^^^^^^^^^^^^^^^^^^^^^^^

Quoted 4 lines

Should MAX_INT should be "0x7fffffff" rather than "0x7ffffff"?

Thanks for any clarification,

I would suggest a version that this line is unused garbage. Any opinions?

Seems unused in fs/reiserfs/* and include/linux/reiserfs*

-chris