Hello, Vladimir. On Fri, May 22, 2015 at 02:04:31AM +0300, Vladimir Zapolskiy wrote: > But "!size" is a special case, > > if (!count || pos >= size) > return 0; > > seems to be incorrect in case of !size ===> (pos >= size) == true.
Hmmm... Why is that wrong tho? If size is zero and pos is zero, there's nothing to do, no? Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

