]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: kmalloc args reversed, small function definition fixes
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Aug 2008 07:27:42 +0000 (09:27 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:11 +0000 (08:56 +0200)
commitaeb3d3a81e81c6323a17fe914e91eb228b3f1aa1
tree9cacfa989eaad1611f61e5707fd432e7f1fde685
parent01cfcddd98f09e05a2e36031654ed46643b76f23
block: kmalloc args reversed, small function definition fixes

Noticed by sparse:
block/blk-softirq.c:156:12: warning: symbol 'blk_softirq_init' was not declared. Should it be static?
block/genhd.c:583:28: warning: function 'bdget_disk' with external linkage has definition
block/genhd.c:659:17: warning: incorrect type in argument 1 (different base types)
block/genhd.c:659:17:    expected unsigned int [unsigned] [usertype] size
block/genhd.c:659:17:    got restricted gfp_t
block/genhd.c:659:29: warning: incorrect type in argument 2 (different base types)
block/genhd.c:659:29:    expected restricted gfp_t [usertype] flags
block/genhd.c:659:29:    got unsigned int
block: kmalloc args reversed

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c
block/genhd.c