Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] give gpioctl.c some love



    Date:        Sat, 22 Aug 2015 16:53:34 +0200
    From:        Timo Buhrmester <fstd.lkml%gmail.com@localhost>
    Message-ID:  <20150822145334.GB18443@frozen.localdomain>

  | I'm not sure I get what's either funny or sad about it,
  | nor why you'd assume it wasn't even read-checked.

Look at it again ...

>   | +	oerrno = errno, errno = 0;
>   | +
>   | +	if ((errno == ERANGE && (lval == LONG_MAX || lval == LONG_MIN))

Really!

kre



Home | Main Index | Thread Index | Old Index