Re: [PATCH for-next 3/3] test range file alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/30/22 8:09 PM, Jens Axboe wrote:
On 6/30/22 3:13 AM, Pavel Begunkov wrote:
@@ -949,5 +1114,11 @@ int main(int argc, char *argv[])
  		return ret;
  	}
+ ret = test_file_alloc_ranges();
+	if (ret) {
+		printf("test_partial_register_fail failed\n");
+		return ret;
+	}

If you're returning this directly, test_file_alloc_ranges() should use
the proper T_EXIT_foo return codes.

Also use `fprintf(stderr, ...)` instead of `printf(...)` for that one.

--
Ammar Faizi



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux