]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/block/mg_disk.c
floppy: Add an extra bound check on ioctl arguments
[karo-tx-linux.git] / drivers / block / mg_disk.c
index 6d7fbaa922486dc2731ccb50480a1c2184718ea6..e0339aaa18154303316c8405d72c08af4b036ffd 100644 (file)
@@ -775,7 +775,7 @@ static int mg_getgeo(struct block_device *bdev, struct hd_geometry *geo)
        return 0;
 }
 
-static struct block_device_operations mg_disk_ops = {
+static const struct block_device_operations mg_disk_ops = {
        .getgeo = mg_getgeo
 };