- switch(result){
- case 0:
- eccResult = YAFFS_ECC_RESULT_NO_ERROR;
- break;
- case 1:
- eccResult = YAFFS_ECC_RESULT_FIXED;
- break;
- case -1:
- eccResult = YAFFS_ECC_RESULT_UNFIXED;
- break;
- default:
- eccResult = YAFFS_ECC_RESULT_UNKNOWN;
+ switch (result) {
+ case 0:
+ eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+ break;
+ case 1:
+ eccResult = YAFFS_ECC_RESULT_FIXED;
+ break;
+ case -1:
+ eccResult = YAFFS_ECC_RESULT_UNFIXED;
+ break;
+ default:
+ eccResult = YAFFS_ECC_RESULT_UNKNOWN;