]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
authorDavid Howells <dhowells@redhat.com>
Wed, 6 Dec 2006 15:01:18 +0000 (15:01 +0000)
committerDavid Howells <dhowells@warthog.cambridge.redhat.com>
Wed, 6 Dec 2006 15:01:18 +0000 (15:01 +0000)
Conflicts:

drivers/pcmcia/ds.c

Fix up merge failures with Linus's head and fix new compile failures.

Signed-Off-By: David Howells <dhowells@redhat.com>
1  2 
drivers/char/pcmcia/synclink_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
drivers/pcmcia/ds.c
drivers/scsi/ipr.c
drivers/scsi/libsas/sas_init.c
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/scsi_scan.c
include/scsi/libsas.h

Simple merge
Simple merge
index ff14fd8f0cd16c65eabfb5ddf2bcb4c3b2a5afe3,45df12eda3c56a14bd82d45fcdf96a47025850c1..7355eb455a881324f68a34dfd4cbe9f91acf619d
@@@ -698,12 -675,13 +675,14 @@@ static int pcmcia_card_add(struct pcmci
  }
  
  
- static void pcmcia_delayed_add_pseudo_device(struct work_struct *work)
 -static void pcmcia_delayed_add_device(void *data)
++static void pcmcia_delayed_add_device(struct work_struct *work)
  {
 -      struct pcmcia_socket *s = data;
 +      struct pcmcia_socket *s =
 +              container_of(work, struct pcmcia_socket, device_add);
-       pcmcia_device_add(s, 0);
+       ds_dbg(1, "adding additional device to %d\n", s->sock);
+       pcmcia_device_add(s, s->pcmcia_state.mfc_pfc);
        s->pcmcia_state.device_add_pending = 0;
+       s->pcmcia_state.mfc_pfc = 0;
  }
  
  static int pcmcia_requery(struct device *dev, void * _data)
@@@ -1247,7 -1349,7 +1350,7 @@@ static int __devinit pcmcia_bus_add_soc
        init_waitqueue_head(&socket->queue);
  #endif
        INIT_LIST_HEAD(&socket->devices_list);
-       INIT_WORK(&socket->device_add, pcmcia_delayed_add_pseudo_device);
 -      INIT_WORK(&socket->device_add, pcmcia_delayed_add_device, socket);
++      INIT_WORK(&socket->device_add, pcmcia_delayed_add_device);
        memset(&socket->pcmcia_state, 0, sizeof(u8));
        socket->device_count = 0;
  
Simple merge
Simple merge
index bbbc9d039baaefc04b5923dd0a639f0acf6e0671,db9d88e7bee79f909356e3298e4eeafbc14a4805..969c9e431028561b510be598dd7e846c0c86f62e
@@@ -1011,19 -961,14 +961,15 @@@ static int qla4xxx_recover_adapter(stru
   * the mid-level tries to sleep when it reaches the driver threshold
   * "host->can_queue". This can cause a panic if we were in our interrupt code.
   **/
 -static void qla4xxx_do_dpc(void *data)
 +static void qla4xxx_do_dpc(struct work_struct *work)
  {
 -      struct scsi_qla_host *ha = (struct scsi_qla_host *) data;
 +      struct scsi_qla_host *ha =
 +              container_of(work, struct scsi_qla_host, dpc_work);
        struct ddb_entry *ddb_entry, *dtemp;
  
-       DEBUG2(printk("scsi%ld: %s: DPC handler waking up.\n",
-                     ha->host_no, __func__));
-       DEBUG2(printk("scsi%ld: %s: ha->flags = 0x%08lx\n",
-                     ha->host_no, __func__, ha->flags));
-       DEBUG2(printk("scsi%ld: %s: ha->dpc_flags = 0x%08lx\n",
-                     ha->host_no, __func__, ha->dpc_flags));
+       DEBUG2(printk("scsi%ld: %s: DPC handler waking up."
+               "flags = 0x%08lx, dpc_flags = 0x%08lx\n",
+               ha->host_no, __func__, ha->flags, ha->dpc_flags));
  
        /* Initialization not yet finished. Don't do anything yet. */
        if (!test_bit(AF_INIT_DONE, &ha->flags))
Simple merge
Simple merge