Re: [PATCH] zfcp: convert zfcp to use target reset and device reset handler

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

 



On Mon, Mar 03, 2008 at 11:19:46AM +0100, Christof Schmitt wrote:
> +static int zfcp_scsi_eh_target_reset_handler(struct scsi_cmnd *scpnt)
> +{
> +	int retval;
> +	struct zfcp_unit *unit = (struct zfcp_unit *) scpnt->device->hostdata;

Randomly spotted item.  Isn't hostdata of type void *?

        void *hostdata;         /* available to low-level driver */

in which case, isn't that cast, which is being added, redundant?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux