arch/m68k/mac/oss.c:51: bad for loop ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

arch/m68k/mac/oss.c:51:21: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]

    for (i = 0; i <= OSS_NUM_SOURCES; i++) {
        oss->irq_level[i] = 0;
    }

Maybe better code

    for (i = 0; i < OSS_NUM_SOURCES; i++) {
        oss->irq_level[i] = 0;
    }

Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux