T0430_report_all_supported_ops: fix compiler warnings
* remove unused label * mark unused parameter * fix signedness warnings Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -23,14 +23,16 @@
|
|||||||
#include "scsi-lowlevel.h"
|
#include "scsi-lowlevel.h"
|
||||||
#include "iscsi-test.h"
|
#include "iscsi-test.h"
|
||||||
|
|
||||||
int T0430_report_all_supported_ops(const char *initiator, const char *url, int data_loss, int show_info)
|
int T0430_report_all_supported_ops(const char *initiator, const char *url,
|
||||||
|
int data_loss _U_, int show_info)
|
||||||
{
|
{
|
||||||
struct iscsi_context *iscsi;
|
struct iscsi_context *iscsi;
|
||||||
struct scsi_task *task;
|
struct scsi_task *task;
|
||||||
struct scsi_report_supported_op_codes *rsoc;
|
struct scsi_report_supported_op_codes *rsoc;
|
||||||
struct scsi_command_descriptor *desc;
|
struct scsi_command_descriptor *desc;
|
||||||
int ret, lun, i;
|
int ret, lun;
|
||||||
int full_size, desc_size;
|
int full_size, desc_size;
|
||||||
|
unsigned i;
|
||||||
|
|
||||||
printf("0430_report_all_supported_ops:\n");
|
printf("0430_report_all_supported_ops:\n");
|
||||||
printf("===================\n");
|
printf("===================\n");
|
||||||
@@ -111,8 +113,6 @@ int T0430_report_all_supported_ops(const char *initiator, const char *url, int d
|
|||||||
printf("\n[OK]\n");
|
printf("\n[OK]\n");
|
||||||
scsi_free_scsi_task(task);
|
scsi_free_scsi_task(task);
|
||||||
|
|
||||||
|
|
||||||
test2:
|
|
||||||
/*Report All Supported Operations including timeout info.*/
|
/*Report All Supported Operations including timeout info.*/
|
||||||
printf("See if Report Supported Opcodes with Timeouts is supported... ");
|
printf("See if Report Supported Opcodes with Timeouts is supported... ");
|
||||||
/* See how big data is */
|
/* See how big data is */
|
||||||
|
|||||||
Reference in New Issue
Block a user