patch-2.1.111 linux/drivers/scsi/ibmmca.c

Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/fdomain.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/drivers/scsi/ibmmca.c linux/drivers/scsi/ibmmca.c
@@ -2137,6 +2137,7 @@
 {
    if (IBM_DS.total_accesses == 0) return (0);
    if (IBM_DS.ldn_access[ldn] == 0) return (0);
+#error Floating point in kernel - shoot programmer
    return((int)(((float)IBM_DS.ldn_access[ldn]/(float)IBM_DS.total_accesses)*(float)100.000));
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov