hpsa.c (87b9e6aa87d9411f1059aa245c0c79976bc557ac) hpsa.c (2ef2884980873081a4edae92f9d88dd580c85f6e)
1/*
2 * Disk Array driver for HP Smart Array SAS controllers
3 * Copyright 2016 Microsemi Corporation
4 * Copyright 2014-2015 PMC-Sierra, Inc.
5 * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 2942 unchanged lines hidden (view full) ---

2951 struct ErrorInfo *ei;
2952
2953 c = cmd_alloc(h);
2954
2955
2956 /* fill_cmd can't fail here, no data buffer to map. */
2957 (void) fill_cmd(c, reset_type, h, NULL, 0, 0,
2958 scsi3addr, TYPE_MSG);
1/*
2 * Disk Array driver for HP Smart Array SAS controllers
3 * Copyright 2016 Microsemi Corporation
4 * Copyright 2014-2015 PMC-Sierra, Inc.
5 * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 2942 unchanged lines hidden (view full) ---

2951 struct ErrorInfo *ei;
2952
2953 c = cmd_alloc(h);
2954
2955
2956 /* fill_cmd can't fail here, no data buffer to map. */
2957 (void) fill_cmd(c, reset_type, h, NULL, 0, 0,
2958 scsi3addr, TYPE_MSG);
2959 rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, DEFAULT_TIMEOUT);
2959 rc = hpsa_scsi_do_simple_cmd(h, c, reply_queue, NO_TIMEOUT);
2960 if (rc) {
2961 dev_warn(&h->pdev->dev, "Failed to send reset command\n");
2962 goto out;
2963 }
2964 /* no unmap needed here because no data xfer. */
2965
2966 ei = c->err_info;
2967 if (ei->CommandStatus != 0) {

--- 7067 unchanged lines hidden ---
2960 if (rc) {
2961 dev_warn(&h->pdev->dev, "Failed to send reset command\n");
2962 goto out;
2963 }
2964 /* no unmap needed here because no data xfer. */
2965
2966 ei = c->err_info;
2967 if (ei->CommandStatus != 0) {

--- 7067 unchanged lines hidden ---