remarkable-linux/drivers/s390/scsi
Christof Schmitt 25458eb791 [SCSI] zfcp: Access ports and units with container_of in sysfs code
When accessing port and unit attributes, use container_of instead of
dev_get_drvdata. This eliminates some code checker warnings about
aliased access of data structures.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-04 12:02:04 -06:00
..
Makefile
zfcp_aux.c [SCSI] zfcp: Access ports and units with container_of in sysfs code 2009-12-04 12:02:04 -06:00
zfcp_ccw.c [SCSI] zfcp: Remove suspend callback 2009-12-04 12:02:03 -06:00
zfcp_cfdc.c [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_dbf.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_dbf.h [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_def.h [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_erp.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_ext.h [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_fc.c [SCSI] zfcp: Remove global config_mutex 2009-12-04 12:02:02 -06:00
zfcp_fsf.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_fsf.h [SCSI] zfcp: Move debug data from zfcp_data to own data structure 2009-09-05 08:49:06 -05:00
zfcp_qdio.c [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_scsi.c [SCSI] zfcp: Replace local reference counting with common kref 2009-12-04 12:02:02 -06:00
zfcp_sysfs.c [SCSI] zfcp: Access ports and units with container_of in sysfs code 2009-12-04 12:02:04 -06:00