[CRIU] [PATCH 1/3] namespaces: Use long value to check for UINT_MAX
Cyrill Gorcunov
gorcunov at openvz.org
Wed Apr 9 03:46:12 PDT 2014
We have a condition
BUG_ON(kid > UINT_MAX);
but kid is unsigned int so it's never bigger than UINT_MAX,
use unsigned long instead.
CID 1042296
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
namespaces.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-namespaces-Use-long-value-to-check-for-UINT_MAX.patch
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140409/ce805c84/attachment.bin>
More information about the CRIU
mailing list