test_objagg: Test the correct variable
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Feb 2019 08:58:20 +0000 (11:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:13:29 +0000 (22:13 -0800)
commit951d3d6fcd72f10b50e2a1182fb533dc2c9da0e5
treea3beef3dc6a39eb2151ea86f9c47bf229a7248e6
parent4446eb8dbeb223031fb652dd1e58e59d3d4b4aba
test_objagg: Test the correct variable

There is a typo here.  We intended to check "objagg2" but we instead
test "objagg" which is not an error pointer.

Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and use hints for object creation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_objagg.c