CC: [email protected]
TO: [email protected]

tree:   https://android.googlesource.com/kernel/common android12-5.4
head:   150b1f5ee2833587c93b2931f3139b5b9d4ef616
commit: a17be43521a6a968a199ce2900db97495117b857 [10/15] UPSTREAM: kunit: test: 
add tests for kunit test abort
:::::: branch date: 7 hours ago
:::::: commit date: 7 hours ago
config: i386-randconfig-m021-20210209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
lib/kunit/test-test.c:51 kunit_test_unsuccessful_try() warn: ignoring 
unreachable code.

vim +51 lib/kunit/test-test.c

a17be43521a6a9 Brendan Higgins 2019-09-23  43  
a17be43521a6a9 Brendan Higgins 2019-09-23  44  static void 
kunit_test_unsuccessful_try(void *data)
a17be43521a6a9 Brendan Higgins 2019-09-23  45  {
a17be43521a6a9 Brendan Higgins 2019-09-23  46   struct kunit *test = data;
a17be43521a6a9 Brendan Higgins 2019-09-23  47   struct 
kunit_try_catch_test_context *ctx = test->priv;
a17be43521a6a9 Brendan Higgins 2019-09-23  48   struct kunit_try_catch 
*try_catch = ctx->try_catch;
a17be43521a6a9 Brendan Higgins 2019-09-23  49  
a17be43521a6a9 Brendan Higgins 2019-09-23  50   
kunit_try_catch_throw(try_catch);
a17be43521a6a9 Brendan Higgins 2019-09-23 @51   KUNIT_FAIL(test, "This line 
should never be reached\n");
a17be43521a6a9 Brendan Higgins 2019-09-23  52  }
a17be43521a6a9 Brendan Higgins 2019-09-23  53  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to