1. 07 2月, 2013 2 次提交
    • J
      rsxx: add slab.h include to dma.c · e5e9fdaa
      Jens Axboe 提交于
      kbuild test robot says:
      
      tree:   git://git.kernel.dk/linux-block.git for-3.9/drivers
      head:   1262e24a
      commit: 8722ff8c [6/8] block: IBM RamSan 70/80 device driver
      config: make ARCH=alpha allyesconfig
      
      All error/warnings:
      
         drivers/block/rsxx/dma.c: In function 'rsxx_complete_dma':
      >> drivers/block/rsxx/dma.c:251:2: error: implicit declaration of function 'kmem_cache_free' [-Werror=implicit-function-declaration]
         drivers/block/rsxx/dma.c: In function 'rsxx_queue_discard':
      >> drivers/block/rsxx/dma.c:567:2: error: implicit declaration of function 'kmem_cache_alloc' [-Werror=implicit-function-declaration]
      >> drivers/block/rsxx/dma.c:567:6: warning: assignment makes pointer from integer without a cast [enabled by default]
         drivers/block/rsxx/dma.c: In function 'rsxx_queue_dma':
      >> drivers/block/rsxx/dma.c:601:6: warning: assignment makes pointer from integer without a cast [enabled by default]
         drivers/block/rsxx/dma.c: In function 'rsxx_dma_init':
      >> drivers/block/rsxx/dma.c:985:2: error: implicit declaration of function 'KMEM_CACHE' [-Werror=implicit-function-declaration]
      >> drivers/block/rsxx/dma.c:985:29: error: 'rsxx_dma' undeclared (first use in this function)
         drivers/block/rsxx/dma.c:985:29: note: each undeclared identifier is reported only once for each function it appears in
      >> drivers/block/rsxx/dma.c:985:39: error: 'SLAB_HWCACHE_ALIGN' undeclared (first use in this function)
         drivers/block/rsxx/dma.c: In function 'rsxx_dma_cleanup':
      >> drivers/block/rsxx/dma.c:995:2: error: implicit declaration of function 'kmem_cache_destroy' [-Werror=implicit-function-declaration]
         cc1: some warnings being treated as errors
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      e5e9fdaa
    • H
      drivers/block/mtip32xx: add missing GENERIC_HARDIRQS dependency · 1262e24a
      Heiko Carstens 提交于
      The MTIP32XX driver calls devm_request_irq() and therefore needs a
      GENERIC_HARDIRQS dependency to prevent building it on s390.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      1262e24a
  2. 06 2月, 2013 1 次提交
  3. 05 2月, 2013 1 次提交
  4. 12 1月, 2013 2 次提交
    • F
      drivers/block/mtip32xx/mtip32xx.c:1726:5: sparse: symbol 'mtip_send_trim' was... · 478c030e
      Fengguang Wu 提交于
      drivers/block/mtip32xx/mtip32xx.c:1726:5: sparse: symbol 'mtip_send_trim' was not declared. Should it be static?
      
      Hi Asai,
      
      FYI, there are new sparse warnings show up in
      
      tree:   git://git.kernel.dk/linux-block.git for-3.9/drivers
      head:   3d6a8743
      commit: 15283469 [2/3] mtip32xx: add trim support
      
      >> drivers/block/mtip32xx/mtip32xx.c:1726:5: sparse: symbol 'mtip_send_trim' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:3348:17: sparse: cast to restricted __le32
         drivers/block/mtip32xx/mtip32xx.c:4125:1: sparse: symbol 'mtip_workq_sdbf0' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4126:1: sparse: symbol 'mtip_workq_sdbf1' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4127:1: sparse: symbol 'mtip_workq_sdbf2' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4128:1: sparse: symbol 'mtip_workq_sdbf3' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4129:1: sparse: symbol 'mtip_workq_sdbf4' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4130:1: sparse: symbol 'mtip_workq_sdbf5' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4131:1: sparse: symbol 'mtip_workq_sdbf6' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c:4132:1: sparse: symbol 'mtip_workq_sdbf7' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_hw_read_flags':
         drivers/block/mtip32xx/mtip32xx.c:2804:1: warning: the frame size of 1036 bytes is larger than 1024 bytes [-Wframe-larger-than=]
         drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_hw_read_registers':
         drivers/block/mtip32xx/mtip32xx.c:2781:1: warning: the frame size of 1044 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      478c030e
    • F
      drivers/block/mtip32xx/mtip32xx.c:4029:1: sparse: symbol 'mtip_workq_sdbf0'... · 25bac122
      Fengguang Wu 提交于
      drivers/block/mtip32xx/mtip32xx.c:4029:1: sparse: symbol 'mtip_workq_sdbf0' was not declared. Should it be static?
      
      Hi Asai,
      
      FYI, there are new sparse warnings show up in
      
      tree:   git://git.kernel.dk/linux-block.git for-3.9/drivers
      head:   3d6a8743
      commit: 16c906e5 [1/3] mtip32xx: Add workqueue and NUMA support
      
      drivers/block/mtip32xx/mtip32xx.c:3267:17: sparse: cast to restricted __le32
      >> drivers/block/mtip32xx/mtip32xx.c:4029:1: sparse: symbol 'mtip_workq_sdbf0' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4030:1: sparse: symbol 'mtip_workq_sdbf1' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4031:1: sparse: symbol 'mtip_workq_sdbf2' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4032:1: sparse: symbol 'mtip_workq_sdbf3' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4033:1: sparse: symbol 'mtip_workq_sdbf4' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4034:1: sparse: symbol 'mtip_workq_sdbf5' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4035:1: sparse: symbol 'mtip_workq_sdbf6' was not declared. Should it be static?
      >> drivers/block/mtip32xx/mtip32xx.c:4036:1: sparse: symbol 'mtip_workq_sdbf7' was not declared. Should it be static?
         drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_hw_read_flags':
         drivers/block/mtip32xx/mtip32xx.c:2723:1: warning: the frame size of 1036 bytes is larger than 1024 bytes [-Wframe-larger-than=]
         drivers/block/mtip32xx/mtip32xx.c: In function 'mtip_hw_read_registers':
         drivers/block/mtip32xx/mtip32xx.c:2700:1: warning: the frame size of 1044 bytes is larger than 1024 bytes [-Wframe-larger-than=]
      
      Please consider folding the below diff :-)
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      25bac122
  5. 11 1月, 2013 3 次提交
  6. 05 1月, 2013 1 次提交
    • P
      block: delete super ancient PC-XT driver for 1980's hardware · d1a6f4f1
      Paul Gortmaker 提交于
      This driver was for the 8 bit ISA cards that were installed in
      the PC-XT machines of 1980 vintage.  They supported the dual
      ribbon cable MFM drives of 10-20MB capacity, and ran at a 3:1
      interleave, giving performance on the order of 128kB/s.
      
      By the introduction of the PC-AT (286) these controllers were
      already scrapped in favour of 16 bit controllers with some onboard
      RAM that could support a 1:1 interleave.
      
      The git history doesn't show any evidence of runtime fixes that
      would reflect active usage; instead just the usual tree-wide API
      type changes/cleanups.  Going back to in-source changelogs, the
      last "runtime" fix that is evident is something I did over a
      dozen years ago[1] -- and even back then, the hardware was long
      since unavailable, so that ancient fix was also not runtime tested.
      
      The time is long overdue for this to get flushed, so lets get
      rid of it before anyone wastes more time doing builds and sparse
      checks etc. on long since dead code.
      
      [1] http://lkml.indiana.edu/hypermail/linux/kernel/0102.2/0027.htmlSigned-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      d1a6f4f1
  7. 04 1月, 2013 1 次提交
    • G
      Drivers: block: remove __dev* attributes. · 8d85fce7
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mike Miller <mike.miller@hp.com>
      Cc: Chirag Kantharia <chirag.kantharia@hp.com>
      Cc: Geoff Levand <geoff@infradead.org>
      Cc: Jim Paris <jim@jtan.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
      Cc: Keith Busch <keith.busch@intel.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: NeilBrown <neilb@suse.de>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Tao Guo <Tao.Guo@emc.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      8d85fce7
  8. 21 12月, 2012 1 次提交
  9. 18 12月, 2012 28 次提交