[lkml]   [2006]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: IS_ERR Threshold Value
    Randy.Dunlap wrote:

    > Are changes also needed in asm-*/unistd.h::syscall_return() macros?
    > or is syscall_return() just not used?
    > e.g.,
    > arm26 uses -125 to detect error
    > arm uses -129 to detect error
    > frv uses -4095 to detect error
    > i386 uses -129
    > h8300, m32r, s390, sh64, v850 use -125
    > m68k[nommu] uses -125
    > sh uses -124
    > x86_64 uses -127

    ... and they're pretty much all wrong (in some cases, they're actually
    less than actual errno values on that architecture!)

    It pretty much works because they're not used. They should either be
    fixed or removed.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-07-02 00:26    [W:0.026 / U:26.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site