linux-next: driver-core build failure
Subsystems (3)
Hi Greg,
I have been carrying the patch below and applying it after the scsi tree merge for some time now. Now that the scsi tree has been merged into Linus' tree, can you add this to the driver-core tree, please? Preferably merged with the patch that changes the class_find_device API.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Quoted 1 line
From
66bcc1fea773190ed16597c1b57b9a8601ba1a23Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <[email protected]>
Date: Fri, 6 Jun 2008 14:26:18 +1000
Subject: [PATCH] scsi: fix fallout from the class_find_device API change
--- drivers/scsi/scsi_transport_iscsi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/scsi_transport_iscsi.c +2 -2
@@ -170,7 +170,7 @@ iscsi_create_endpoint(int dd_size)int err;for (id =1 ; id <ISCSI_MAX_EPID ; id++) { - dev =class_find_device (&iscsi_endpoint_class, &id, + dev =class_find_device (&iscsi_endpoint_class,NULL , &id, iscsi_match_epid);if (!dev)break ;
@@ -221,7 +221,7 @@ struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle) {struct device *dev; - dev =class_find_device (&iscsi_endpoint_class, &handle, + dev =class_find_device (&iscsi_endpoint_class,NULL , &handle, iscsi_match_epid);if (!dev)return NULL ;
Signature · 1 line
1.5.5.3
Quoted 6 lines · Stephen Rothwell
Hi Greg,
I have been carrying the patch below and applying it after the scsi tree merge for some time now. Now that the scsi tree has been merged into Linus' tree, can you add this to the driver-core tree, please? Preferably merged with the patch that changes the
class_find_deviceAPI.
Thanks, I will do that.
greg k-h