Peng Tao
652bb76dde
cli: syscall return value check is wrong
...
ret is uintptr and always >= 0. errno is enough for error checking.
This is causing lint error:
/home/vagrant/workplace/golang/src/github.com/kata-containers/runtime/virtcontainers/utils
cli/kata-check.go:446:20: SA4003: no value of type uintptr is less than 0 (staticcheck)
if errno != 0 || ret <= 0 {
^
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2019-12-24 23:53:29 -08:00
..
2019-12-24 23:16:48 -08:00
2018-12-11 03:12:31 +00:00
2019-04-17 11:59:10 +01:00
2018-04-17 17:30:44 +01:00
2018-11-19 10:16:09 +00:00
2019-09-17 11:47:06 +08:00
2019-09-17 11:47:06 +08:00
2019-09-17 11:47:06 +08:00
2019-07-22 19:29:32 -07:00
2019-04-09 18:59:56 -07:00
2019-01-08 14:43:33 +01:00
2019-09-17 11:47:06 +08:00
2019-09-05 11:05:55 +08:00
2018-04-17 17:30:44 +01:00
2018-04-17 17:30:44 +01:00
2019-05-02 15:42:35 +01:00
2019-11-26 00:42:12 -08:00
2019-08-22 20:18:26 +02:00
2019-11-15 19:35:29 +00:00
2019-08-22 20:18:26 +02:00
2019-07-10 10:47:31 -07:00
2018-03-15 12:10:52 -06:00
2018-06-21 07:16:17 +00:00
2019-01-22 22:04:52 +05:30
2018-12-11 12:32:17 +01:00
2019-07-10 10:47:31 -07:00
2019-08-22 20:18:26 +02:00
2019-07-10 10:47:31 -07:00
2019-08-22 20:18:26 +02:00
2019-07-10 10:47:31 -07:00
2019-08-29 16:31:27 +01:00
2019-12-24 23:53:29 -08:00
2019-03-01 15:13:15 +08:00
2019-03-01 15:13:15 +08:00
2018-08-30 09:41:24 +01:00
2019-03-01 15:13:15 +08:00
2018-12-11 12:32:17 +01:00
2019-05-05 11:32:34 -06:00
2019-08-29 14:08:04 -05:00
2019-10-30 19:08:58 -07:00
2019-09-17 11:47:06 +08:00
2019-07-22 19:29:32 -07:00
2019-04-29 17:04:15 +08:00
2019-04-29 17:04:15 +08:00
2019-09-17 11:47:06 +08:00
2019-12-03 14:01:29 +08:00
2019-09-17 11:47:06 +08:00
2019-01-08 14:43:33 +01:00
2018-11-27 17:17:31 +08:00
2019-03-25 08:48:13 -07:00
2019-09-17 11:47:06 +08:00
2018-11-27 17:17:31 +08:00
2019-04-09 18:59:56 -07:00
2019-03-25 08:48:13 -07:00
2019-09-17 11:47:06 +08:00
2018-11-27 17:17:31 +08:00
2018-08-10 15:25:00 +01:00
2018-11-27 17:17:31 +08:00
2019-09-17 11:47:06 +08:00
2019-03-25 08:48:13 -07:00
2018-08-22 08:24:58 +01:00
2018-11-27 17:17:31 +08:00
2019-04-09 18:59:56 -07:00
2019-03-25 08:48:13 -07:00
2018-11-15 14:39:43 +00:00
2018-12-11 12:32:17 +01:00
2019-01-31 14:05:51 +08:00
2019-01-31 14:05:51 +08:00
2018-08-10 15:25:00 +01:00
2018-11-27 17:17:31 +08:00