ranges: parse the ranges list correctly if it only includes "max"
commit5b3f6da0ea8ceed07ec7a0ff6eecbbb740c22f8f
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Oct 2012 13:22:12 +0000 (4 16:22 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Oct 2012 13:22:12 +0000 (4 16:22 +0300)
tree9ddd1a0b0ead59fff4f4ee523d2251a9ff25ab20
parentc789854ea583922ac99946b45901b021ed4042fc
ranges: parse the ranges list correctly if it only includes "max"

The original code didn't parse the range list correctly if it started with
"max".  (Of course, starting with max means that it ends there too).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_ranges.c