aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2008-12-02 13:40:11 +0100
committerJan Kara <[email protected]>2009-04-02 12:29:52 +0200
commit87bc730c07a0884d14d6af5c9d49f4669c0a0589 (patch)
treeaae3f3b6286526e16ee9614923d227612affe51e /net/lapb/lapb_subr.c
parente650b94addfbf072952df762e6f1c6c9e26c4f9c (diff)
udf: fix default mode and dmode options handling
On x86 (and several other archs) mode_t is defined as "unsigned short" and comparing unsigned shorts to negative ints is broken (because short is promoted to int and then compared). Fix it. Reported-and-tested-by: Laurent Riffard <[email protected]> Signed-off-by: Marcin Slusarz <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions