aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/floppy.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-18floppy: remove duplicated code in redo_fd_request()Yufeng Wang1-1/+0
2024-02-19floppy: pass queue_limits to blk_mq_alloc_diskChristoph Hellwig1-2/+4
2024-02-13block: pass a queue_limits argument to blk_mq_alloc_diskChristoph Hellwig1-1/+1
2024-02-13floppy: fix function pointer cast warningsArnd Bergmann1-4/+7
2024-01-08mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDERKirill A. Shutemov1-1/+1
2023-10-28block: move bdev_mark_dead out of disk_check_media_changeChristoph Hellwig1-1/+3
2023-08-21floppy: call disk_force_media_change when changing the formatChristoph Hellwig1-1/+1
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-14/+14
2023-06-12block: remove the unused mode argument to ->releaseChristoph Hellwig1-1/+1
2023-06-12block: pass a gendisk to ->openChristoph Hellwig1-14/+16
2023-06-12block: pass a gendisk on bdev_check_media_changeChristoph Hellwig1-8/+8
2023-05-31floppy: use __bio_add_page for adding single page to bioJohannes Thumshirn1-1/+1
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-04-05floppy: fix MAX_ORDER usageKirill A. Shutemov1-2/+2
2022-12-04floppy: Fix memory leak in do_floppy_init()Yuan Can1-1/+3
2022-07-14block/floppy: Fix a sparse warningBart Van Assche1-1/+1
2022-06-28block: remove blk_cleanup_diskChristoph Hellwig1-3/+3
2022-05-08floppy: use a statically allocated error counterWilly Tarreau1-10/+8
2022-04-27floppy: disable FDRAWCMD by defaultWilly Tarreau1-11/+32
2022-03-04floppy: use memcpy_{to,from}_bvecChristoph Hellwig1-4/+2
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-3/+1
2021-12-03floppy: Add max size check for user space requestXiongwei Song1-1/+3
2021-12-03floppy: Fix hang in watchdog when disk is ejectedTasos Sahanidis1-1/+1
2021-11-29block: remove the ->rq_disk field in struct requestChristoph Hellwig1-3/+3
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-0/+1
2021-11-04floppy: address add_disk() error handling on probeLuis Chamberlain1-4/+13
2021-10-18floppy: add error handling support for add_disk()Luis Chamberlain1-2/+4
2021-10-18floppy: fix calling platform_device_unregister() on invalid drivesLuis Chamberlain1-2/+7
2021-10-18floppy: use blk_cleanup_disk()Luis Chamberlain1-5/+1
2021-10-18floppy: fix add_disk() assumption on exit due to new developmentsLuis Chamberlain1-13/+0
2021-10-18block: drop unused includes in <linux/genhd.h>Christoph Hellwig1-0/+1
2021-08-28Revert "floppy: reintroduce O_NDELAY fix"Denis Efremov1-15/+15
2021-06-30Merge tag 'for-5.14/drivers-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-06-15floppy: Fix fall-through warning for ClangGustavo A. R. Silva1-0/+1
2021-06-15floppy: cleanup: remove redundant assignment to nr_sectorsJiapeng Chong1-1/+0
2021-06-11floppy: use blk_mq_alloc_disk and blk_cleanup_diskChristoph Hellwig1-15/+5
2021-04-28Merge tag 'for-5.13/drivers-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-126/+33
2021-04-20floppy: cleanups: remove FLOPPY_SILENT_DCL_CLEAR undefDenis Efremov1-2/+0
2021-04-20floppy: cleanups: use memcpy() to copy reply_bufferDenis Efremov1-4/+1
2021-04-20floppy: cleanups: use memset() to zero reply_bufferDenis Efremov1-3/+1
2021-04-20floppy: cleanups: use ST0 as reply_buffer index 0Denis Efremov1-6/+6
2021-04-06floppy: always use the track bufferChristoph Hellwig1-111/+25
2021-03-17module: remove never implemented MODULE_SUPPORTED_DEVICELeon Romanovsky1-1/+0
2021-02-04floppy: reintroduce O_NDELAY fixJiri Kosina1-15/+15
2020-11-16floppy: use a separate gendisk for each media formatChristoph Hellwig1-57/+97
2020-09-10floppy: use bdev_check_media_changeChristoph Hellwig1-3/+5
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-07-01floppy: use block_sizeChristoph Hellwig1-6/+1
2020-05-26block/floppy: fix contended case in floppy_queue_rq()Jiri Kosina1-5/+5
2020-05-12floppy: suppress UBSAN warning in setup_rw_floppy()Denis Efremov1-2/+2
2020-05-12floppy: add defines for sizes of cmd & reply buffers of floppy_raw_cmdDenis Efremov1-14/+5
2020-05-12floppy: add FD_AUTODETECT_SIZE define for struct floppy_drive_paramsDenis Efremov1-4/+5
2020-05-12floppy: use print_hex_dump() in setup_DMA()Denis Efremov1-6/+3
2020-05-12floppy: cleanup: make set_fdc() always set current_drive and current_fdWilly Tarreau1-14/+29
2020-05-12floppy: cleanup: get rid of current_reqD in favor of current_driveWilly Tarreau1-6/+2
2020-05-12floppy: make sure to reset all FDCs upon resume()Willy Tarreau1-2/+4
2020-05-12floppy: cleanup: do not iterate on current_fdc in do_floppy_init()Willy Tarreau1-20/+18
2020-05-12floppy: cleanup: add a few comments about expectations in certain functionsWilly Tarreau1-1/+13
2020-05-12floppy: cleanup: do not iterate on current_fdc in DMA grab/release functionsWilly Tarreau1-19/+20
2020-05-12floppy: cleanup: make get_fdc_version() not rely on current_fdc anymoreWilly Tarreau1-26/+26
2020-05-12floppy: cleanup: make next_valid_format() not rely on current_drive anymoreWilly Tarreau1-8/+8
2020-05-12floppy: cleanup: make check_wp() not rely on current_{fdc,drive} anymoreWilly Tarreau1-13/+13
2020-05-12floppy: cleanup: make fdc_specify() not rely on current_{fdc,drive} anymoreWilly Tarreau1-21/+21
2020-05-12floppy: cleanup: make fdc_configure() not rely on current_fdc anymoreWilly Tarreau1-9/+8
2020-05-12floppy: cleanup: make perpendicular_mode() not rely on current_fdc anymoreWilly Tarreau1-8/+8
2020-05-12floppy: cleanup: make need_more_output() not rely on current_fdc anymoreWilly Tarreau1-6/+6
2020-05-12floppy: cleanup: make result() not rely on current_fdc anymoreWilly Tarreau1-15/+15
2020-05-12floppy: cleanup: make output_byte() not rely on current_fdc anymoreWilly Tarreau1-32/+32
2020-05-12floppy: cleanup: make wait_til_ready() not rely on current_fdc anymoreWilly Tarreau1-9/+9
2020-05-12floppy: cleanup: make show_floppy() not rely on current_fdc anymoreWilly Tarreau1-7/+7
2020-05-12floppy: cleanup: make reset_fdc_info() not rely on current_fdc anymoreWilly Tarreau1-10/+10
2020-05-12floppy: cleanup: make twaddle() not rely on current_{fdc,drive} anymoreWilly Tarreau1-9/+9
2020-05-12floppy: split the base port from the register in I/O accessesWilly Tarreau1-2/+2
2020-03-16floppy: rename the global "fdc" variable to "current_fdc"Willy Tarreau1-130/+137
2020-03-16floppy: separate the FDC's base address from its registersWilly Tarreau1-5/+4
2020-03-16floppy: introduce new functions fdc_inb() and fdc_outb()Willy Tarreau1-16/+26
2020-03-16floppy: cleanup: expand the reply_buffer macrosWilly Tarreau1-39/+47
2020-03-16floppy: cleanup: expand the R/W / format command macrosWilly Tarreau1-96/+98
2020-03-16floppy: cleanup: expand macro DRWEWilly Tarreau1-9/+7
2020-03-16floppy: cleanup: expand macro DRSWilly Tarreau1-54/+61
2020-03-16floppy: cleanup: expand macro DPWilly Tarreau1-37/+47
2020-03-16floppy: cleanup: expand macro UDRWEWilly Tarreau1-6/+4
2020-03-16floppy: cleanup: expand macro UDRSWilly Tarreau1-79/+83
2020-03-16floppy: cleanup: expand macro UDPWilly Tarreau1-75/+77
2020-03-16floppy: cleanup: expand macro UFDCSWilly Tarreau1-5/+4
2020-03-16floppy: cleanup: expand macro FDCSWilly Tarreau1-92/+91
2020-02-24floppy: check FDC index for errors before assigning itLinus Torvalds1-2/+5
2020-01-03compat_ioctl: block: handle cdrom compat ioctl in non-cdrom driversArnd Bergmann1-0/+3
2019-08-09floppy: fix usercopy directionJann Horn1-2/+2
2019-07-18Merge branch 'floppy'Linus Torvalds1-2/+32
2019-07-17floppy: fix out-of-bounds read in copy_bufferDenis Efremov1-2/+4
2019-07-17floppy: fix invalid pointer dereference in drive_nameDenis Efremov1-3/+8
2019-07-17floppy: fix out-of-bounds read in next_valid_formatDenis Efremov1-0/+18
2019-07-17floppy: fix div-by-zero in setup_format_paramsDenis Efremov1-0/+5
2019-07-15docs: blockdev: add it to the admin-guideMauro Carvalho Chehab1-1/+1
2019-07-15docs: blockdev: convert to ReSTMauro Carvalho Chehab1-1/+1
2019-06-20floppy: fix harmless clang build warningArnd Bergmann1-1/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-07Merge tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2019-04-12Revert "block: unexport DISK_EVENT_MEDIA_CHANGE for legacy/fringe drivers"Martin Wilck1-0/+1
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-5/+5
2019-03-08Merge tag 'for-5.1/block-20190302' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+0
2019-02-28floppy: remove set but not used variable 'q'YueHaibing1-3/+0
2019-02-12floppy: check_events callback should not return a negative numberYufen Yu1-1/+1
2018-11-18Merge tag 'v4.20-rc3' into for-4.21/blockJens Axboe1-1/+2
2018-11-18floppy: remove now unused 'flags' variableJens Axboe1-1/+0
2018-11-16floppy: remove queue_lock around floppy_end_requestChristoph Hellwig1-5/+0
2018-11-15block: remove the queue_lock indirectionChristoph Hellwig1-4/+4
2018-11-10floppy: fix race condition in __floppy_read_block_0()Jens Axboe1-1/+2
2018-10-16floppy: convert to blk-mqOmar Sandoval1-30/+36
2018-10-01Merge tag 'v4.19-rc6' into for-4.20/blockJens Axboe1-0/+3
2018-09-28block: genhd: add 'groups' argument to device_add_diskHannes Reinecke1-1/+1
2018-09-20floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctlAndy Whitcroft1-0/+3
2018-07-09block/floppy: remove redundant variable dflagsColin Ian King1-3/+0
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-02-26genhd: Rename get_disk() to get_disk_and_module()Jan Kara1-1/+1
2017-11-14block/floppy: Convert callback to pass timer_listKees Cook1-3/+7
2017-10-19floppy: consolidate the dummy fd_cacheflush definitionChristoph Hellwig1-0/+4
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-1/+1
2017-07-06Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-0/+328
2017-06-29take floppy compat ioctls to sodding floppy.cAl Viro1-0/+328
2017-06-27block: don't set bounce limit in blk_init_queueChristoph Hellwig1-0/+1
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-2/+2
2017-06-09block: introduce new block status code typeChristoph Hellwig1-2/+2
2017-04-20floppy: switch from req->errors to req->error_countChristoph Hellwig1-2/+4
2017-03-24block: floppy: use setup_timerGeliang Tang1-3/+1
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-2/+2
2017-01-11floppy: replace wrong kmalloc(GFP_USER) with GFP_KERNELVlastimil Babka1-1/+1
2016-11-22block: floppy: use bio_add_page()Ming Lei1-5/+2
2016-11-22block: bio: pass bvec table to bio_init()Ming Lei1-2/+1
2016-08-25Revert "floppy: refactor open() flags handling"Jens Axboe1-19/+15
2016-08-25Revert "floppy: fix open(O_ACCMODE) for ioctl-only open"Jens Axboe1-9/+12
2016-08-04floppy: fix open(O_ACCMODE) for ioctl-only openJiri Kosina1-12/+9
2016-06-27block: convert to device_add_disk()Dan Williams1-2/+1
2016-06-07block, fs, mm, drivers: use bio set/get op accessorsMike Christie1-1/+1
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-1/+2
2016-02-06floppy: refactor open() flags handlingJiri Kosina1-15/+19
2016-02-01Merge branch 'for-4.5/for-jens' of git://git.kernel.org/pub/scm/linux/kernel/...Jens Axboe1-15/+18
2016-02-01floppy: fix lock_fdc() signal handlingJiri Kosina1-15/+18
2015-12-08floppy: make local variable non-staticRasmus Villemoes1-2/+3
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-3/+4
2015-02-03floppy: Avoid manual call of device_create_file()Takashi Iwai1-9/+8
2014-06-18Merge branch 'for-jens' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Jens Axboe1-1/+1
2014-06-18floppy: format block0 read error message properlyJiri Kosina1-1/+1
2014-06-02Merge branch 'for-3.16/drivers' of git://git.kernel.dk/linux-block into nextLinus Torvalds1-1/+1
2014-06-02Merge branch 'for-3.16/core' of git://git.kernel.dk/linux-block into nextLinus Torvalds1-9/+9
2014-05-28floppy: do not corrupt bio.bi_flags when reading block 0Jiri Kosina1-1/+1
2014-05-05floppy: don't write kernel-only members to FDRAWCMD ioctl outputMatthew Daley1-1/+4
2014-05-05floppy: ignore kernel-only members in FDRAWCMD ioctl inputMatthew Daley1-3/+3
2014-04-15block: remove struct request buffer memberJens Axboe1-9/+9
2014-03-07floppy: don't use PREPARE_[DELAYED_]WORKTejun Heo1-14/+28
2014-01-17floppy: bail out in open() if drive is not responding to block0 readJiri Kosina1-9/+27
2013-11-23block: Convert bio_for_each_segment() to bvec_iterKent Overstreet1-6/+6
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-2/+2
2013-10-25block: make rq->cmd_flags be 64-bitJens Axboe1-2/+2
2013-05-08Merge branch 'for-3.10/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2013-05-07block_device_operations->release() should return voidAl Viro1-3/+1
2013-03-23block: Remove bi_idx referencesKent Overstreet1-1/+0
2012-11-23floppy: destroy floppy workqueue before cleaning up the queueJiri Kosina1-2/+3
2012-10-30floppy: remove dr, reuse drive on do_floppy_initHerton Ronaldo Krzesinski1-26/+22
2012-10-30floppy: use common function to check if floppies can be registeredHerton Ronaldo Krzesinski1-10/+13
2012-10-30floppy: properly handle failure on add_disk loopHerton Ronaldo Krzesinski1-1/+10
2012-10-30floppy: do put_disk on current dr if blk_init_queue failsHerton Ronaldo Krzesinski1-0/+1
2012-10-30floppy: don't call alloc_ordered_workqueue inside the alloc_disk loopHerton Ronaldo Krzesinski1-9/+6
2012-08-21workqueue: deprecate __cancel_delayed_work()Tejun Heo1-1/+1
2012-08-21workqueue: use mod_delayed_work() instead of __cancel + queueTejun Heo1-2/+1
2012-07-31Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Jens Axboe1-2/+1
2012-07-31floppy: remove duplicated flag FD_RAW_NEED_DISKFengguang Wu1-2/+1
2012-07-30Merge branch 'for-jens' of git://git.drbd.org/linux-drbd into for-3.6/driversJens Axboe1-0/+1
2012-07-04floppy: Run floppy initialization asynchronousAndi Kleen1-1/+20
2012-07-03floppy: cancel any pending fd_timeouts before adding a new oneLinus Torvalds1-0/+1
2012-05-18floppy: remove floppy-specific O_EXCL handlingJiri Kosina1-14/+4
2012-05-18floppy: convert to delayed work and single-thread wqJiri Kosina1-70/+73
2012-03-30x86: Remove the ancient and deprecated disable_hlt() and enable_hlt() facilityLen Brown1-36/+0
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-05floppy/scsi: fix setting of BIO flagsMuthu Kumar1-1/+1
2012-02-08floppy: Fix a crash during rmmodVivek Goyal1-0/+9
2012-02-08floppy: Cleanup disk->queue before caling put_disk() if add_disk() was never ...Vivek Goyal1-1/+7
2012-01-03fs: move code out of buffer.cAl Viro1-1/+0
2011-09-21floppy: use del_timer_sync() in init cleanupCarsten Emde1-4/+4
2011-05-29Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2011-05-29x86 idle floppy: deprecate disable_hlt()Len Brown1-0/+1
2011-04-21block: unexport DISK_EVENT_MEDIA_CHANGE for legacy/fringe driversTejun Heo1-1/+0
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-1/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-1/+0
2011-03-09floppy,{ami|ata}flop: Convert to bdops->check_events()Tejun Heo1-4/+6
2011-02-24Fix over-zealous flush_disk when changing device size.NeilBrown1-1/+1
2011-01-13Merge branch 'for-2.6.38/drivers' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-5/+10
2010-12-24floppy: don't use flush_scheduled_work()Tejun Heo1-2/+2
2010-11-08floppy: replace NO_GEOM macro with a functionPekka Enberg1-5/+10
2010-11-06floppy: fix another use-after-freeVivek Goyal1-1/+1
2010-11-05floppy: fix use-after-free in module load failure pathLinus Torvalds1-1/+1
2010-10-22Merge branch 'for-2.6.37/drivers' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-21/+45
2010-10-05block: autoconvert trivial BKL users to private mutexArnd Bergmann1-8/+8
2010-09-22floppy: switch to one queue per drive instead of sharing a queueJens Axboe1-21/+45
2010-08-07floppy: make controller constStephen Hemminger1-8/+8
2010-08-07block: push down BKL into .open and .releaseArnd Bergmann1-0/+5
2010-08-07block: push down BKL into .locked_ioctlArnd Bergmann1-2/+15
2010-08-07floppy: use warning macrosStephen Hemminger1-16/+11
2010-08-07floppy: use wait_event_interruptibleStephen Hemminger1-50/+9