1. 23 10月, 2007 1 次提交
  2. 20 10月, 2007 9 次提交
  3. 19 10月, 2007 2 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
    • J
      [libata] kill ata_sg_is_last() · 3be6cbd7
      Jeff Garzik 提交于
      Short term, this works around a bug introduced by early sg-chaining
      work.
      
      Long term, removing this function eliminates a branch from a hot
      path loop in each scatter/gather table build.  Also, as this code
      demonstrates, we don't need to _track_ the end of the s/g list, as
      long as we mark it in some way.  And doing so programatically is nice.
      So its a useful cleanup, regardless of its short term effects.
      
      Based conceptually on a quick patch by Jens Axboe.
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      3be6cbd7
  4. 18 10月, 2007 1 次提交
  5. 17 10月, 2007 4 次提交
  6. 16 10月, 2007 19 次提交
  7. 13 10月, 2007 4 次提交
    • K
      Driver core: change add_uevent_var to use a struct · 7eff2e7a
      Kay Sievers 提交于
      This changes the uevent buffer functions to use a struct instead of a
      long list of parameters. It does no longer require the caller to do the
      proper buffer termination and size accounting, which is currently wrong
      in some places. It fixes a known bug where parts of the uevent
      environment are overwritten because of wrong index calculations.
      
      Many thanks to Mathieu Desnoyers for finding bugs and improving the
      error handling.
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7eff2e7a
    • D
      [SCSI] gdth: fix CONFIG_ISA build failure · c8e91b0a
      Dhaval Giani 提交于
      drivers/scsi/gdth.c: In function ‘gdth_search_dev’:
      drivers/scsi/gdth.c:646: warning: ‘pci_find_device’ is deprecated
      (declared at include/linux/pci.h:482)
      drivers/scsi/gdth.c: In function ‘gdth_init_isa’:
      drivers/scsi/gdth.c:857: error: ‘gdth_irq_tab’ undeclared (first use in
      this function)
      drivers/scsi/gdth.c:857: error: (Each undeclared identifier is reported
      only once
      drivers/scsi/gdth.c:857: error: for each function it appears in.)
      drivers/scsi/gdth.c: In function ‘gdth_copy_internal_data’:
      drivers/scsi/gdth.c:2362: warning: unused variable ‘sg’
      
      Looking into the code I notice that gdth_irq_tab is not declared with
      CONFIG_ISA=y and !CONFIG_EISA.
      
      The values seem to be same in 2.6.23 (I am not sure why it has been put
      with #ifdefs in -mm) so I have just modified the #ifdef to take care of
      CONFIG_ISA as well.
      Signed-off-by: NDhaval Giani <dhaval@linux.vnet.ibm.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      c8e91b0a
    • A
      [SCSI] esp_scsi: remove __dev{init,exit} · 76246808
      Adrian Bunk 提交于
      Since scsi_esp_{,un}register() are EXPORT_SYMBOL'ed, these functions
      (and the functions they use) can't be __dev{init,exit}.
      
      Based on a bug report by Rob Landley.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      76246808
    • B
      [SCSI] gdth: !use_sg cleanup and use of scsi accessors · 3892d88a
      Boaz Harrosh 提交于
      gdth_execute() will issue an internal, none scsi-standard commands
      onto __gdth_queuecommand(). Since it is not recommended to set
      struct scsi_cmnd IO members in llds, gdth now uses internal IO
      members for IO. In the case of gdth_execute() these members will be
      set properly. In case the command was issued from scsi-ml
      (by gdth_queuecommand) they will be set from scsi IO accessors.
      
        * define gdth IO accessors and use them throughout the driver.
        * use an sg-of-one in gdth_execute() and fix gdth_special_cmd()
          accordingly.
        * Clean the not use_sg code path and company
      
      Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      3892d88a