]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb20720c7baff73a9b1bd744887e9706e4ab1591
treea3beef3dc6a39eb2151ea86f9c47bf229a7248e6
parent87fa40e33e4c87e35386550bd4e3cfcd4b97f8c0
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: f8ebf29b928f ("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