1. 05 3月, 2009 1 次提交
    • H
      ide: NULL noise: drivers/ide/ide-*.c · 71bfc7a7
      Hannes Eder 提交于
      Fix this sparse warnings:
        drivers/ide/ide-disk_proc.c:130:11: warning: Using plain integer as NULL pointer
        drivers/ide/ide-floppy_proc.c:32:11: warning: Using plain integer as NULL pointer
        drivers/ide/ide-proc.c:234:11: warning: Using plain integer as NULL pointer
        drivers/ide/ide-tape.c:2141:11: warning: Using plain integer as NULL pointer
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Cc: trivial@kernel.org
      Cc: kernel-janitors@vger.kernel.org
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      71bfc7a7
  2. 18 10月, 2008 1 次提交
    • B
      ide: prepare for merging ide-gd-floppy.c with ide-gd.c · 9a6eb74d
      Bartlomiej Zolnierkiewicz 提交于
      - idefloppy_ref_mutex -> ide_disk_ref_mutex
      - idefloppy_cleanup_obj() -> ide_disk_release()
      - ide_floppy_get() -> ide_disk_get()
      - ide_floppy_put() -> ide_disk_put()
      - ide_floppy_capacity() -> ide_gd_capacity()
      - ide_floppy_remove() -> ide_gd_remove()
      - ide_floppy_probe() -> ide_gd_probe()
      - idefloppy_driver -> ide_gd_driver
      - idefloppy_open() -> ide_gd_open()
      - idefloppy_release() -> ide_gd_release()
      - idefloppy_getgeo() -> ide_gd_getgeo()
      - idefloppy_media_changed() -> ide_gd_media_changed()
      - idefloppy_revalidate_disk() -> ide_gd_revalidate_disk()
      - idefloppy_ops -> ide_gd_ops
      - idefloppy_init() -> ide_gd_init()
      - idefloppy_exit() -> ide_gd_exit()
      
      - 'floppy' -> 'idkp' in ide_disk_*() and ide_gd_*()
      - idefloppy_floppy_t -> struct ide_floppy_obj
      
      There should be no functional changes caused by this patch.
      Acked-by: NBorislav Petkov <petkovbb@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9a6eb74d
  3. 14 10月, 2008 1 次提交