Skip to content

Commit 5d41d21

Browse files
committed
Merge branch 'for-6.17/block' into for-next
* for-6.17/block: block: floppy: Fix uninitialized use of outparam
2 parents 08cce37 + cb1bdf0 commit 5d41d21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/block/floppy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@ static int fd_locked_ioctl(struct block_device *bdev, blk_mode_t mode,
34113411
struct floppy_max_errors max_errors;
34123412
struct floppy_drive_params dp;
34133413
} inparam; /* parameters coming from user space */
3414-
const void *outparam; /* parameters passed back to user space */
3414+
const void *outparam = NULL; /* parameters passed back to user space */
34153415

34163416
/* convert compatibility eject ioctls into floppy eject ioctl.
34173417
* We do this in order to provide a means to eject floppy disks before

0 commit comments

Comments
 (0)