{"push_id":692817985,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"727ddef49c7b3fd21f086ae5998f00cd42fda2fc","before":"ad4d9a6488a11f93856f1ab40af22fa872f1c494","commits":[{"sha":"20a0b5eecb600d193306096acc56cf40b6e86ba6","author":{"email":"9cfb506ffc11a9bdfddeea4cef2a4c9d35dfe20c@gmail.com","name":"Richard Genoud"},"message":"FAT: use toupper/tolower instead of recoding them\n\ntoupper/tolower function are already declared, so use them.\n\nSigned-off-by: Richard Genoud <richard.genoud@gmail.com>\nAcked-by: Marek Vasut <marex@denx.de>\nAcked-by: Stefano Babic <sbabic@denx.de>\n\nConflicts:\n\tfs/fat/fat.c","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/20a0b5eecb600d193306096acc56cf40b6e86ba6"},{"sha":"826b1fd74f294d4a8dd9e2b2973cc1f2c3660fe6","author":{"email":"d0f3508a0b242623257f3971a925c8211f91345e@suse.com","name":"Egbert Eich"},"message":"fs/fat: Don't multiply fatsize with sector size\n\nBugfix:\nHere at this place we need the fat size in sectors not bytes.\nThis was found during code review when adding support for storage\ndevices with blocksizes != 512.\n\nSigned-off-by: Egbert Eich <eich@suse.com>","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/826b1fd74f294d4a8dd9e2b2973cc1f2c3660fe6"},{"sha":"ef11dbfe77bd11a4b0167b07834c141afd1b442e","author":{"email":"214a37845230d76da78cdfc7fb6625cf7dbbd4e2@atmel.com","name":"Wu, Josh"},"message":"fs: fat: don't call disk_write with zero sector num\n\nIn the set_cluster() function, it will convert the buffer size to sector\nnumbers. Then call disk_write() to write by sector.\nFor remaining buffer, the size is less than a sector, call disk_write()\nagain to write them in one sector.\n\nBut if the total buffer size is less then one sector, the original code\nwill call disk_write() with zero sector number. It is unnecessary.\nSo this patch fix this. Now it will not call disk_write() if total buffer size\nis less than one sector.\n\nSigned-off-by: Josh Wu <josh.wu@atmel.com>","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/ef11dbfe77bd11a4b0167b07834c141afd1b442e"},{"sha":"99a2f2c17d54173b62042789872baaad16fb260f","author":{"email":"86da728fbcf5bc056fa5b1073e0d75ecaa044f28@samsung.com","name":"Piotr Wilczek"},"message":"fs:fat: fix set file name function\n\nCurently memcpy copies string without null terminating char because\nfunction strlen returns only number of characters excluding\nnull terminating character. Replace memcpy with strcpy.\n\nSigned-off-by: Piotr Wilczek <p.wilczek@samsung.com>\nSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>\nCC: Tom Rini <trini@ti.com>","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/99a2f2c17d54173b62042789872baaad16fb260f"},{"sha":"95204d0d2454bfb696271d0ddccfc1459a53aa55","author":{"email":"214a37845230d76da78cdfc7fb6625cf7dbbd4e2@atmel.com","name":"Wu, Josh"},"message":"fs: fat_write: fix the incorrect last cluster checking\n\nIn fat_write.c, the last clust condition check is incorrect:\n\n  if ((curclust >= 0xffffff8) || (curclust >= 0xfff8)) {\n  \t... ...\n  }\n\nFor example, in FAT32 if curclust is 0x11000. It is a valid clust.\nBut on above condition check, it will be think as a last clust.\n\nSo the correct last clust check should be:\n  in fat32, curclust >= 0xffffff8\n  in fat16, curclust >= 0xfff8\n  in fat12, curclust >= 0xff8\n\nThis patch correct the last clust check.\n\nSigned-off-by: Josh Wu <josh.wu@atmel.com>","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/95204d0d2454bfb696271d0ddccfc1459a53aa55"},{"sha":"727ddef49c7b3fd21f086ae5998f00cd42fda2fc","author":{"email":"214a37845230d76da78cdfc7fb6625cf7dbbd4e2@atmel.com","name":"Wu, Josh"},"message":"fs/fat: correct FAT16/12 file finding in root dir\n\nWhen write a file into FAT file system, it will search a match file in\nroot dir. So the find_directory_entry() will get the first cluster of\nroot dir content and search the directory item one by one. If the file\nis not found, we will call get_fatent_value() to get next cluster of root\ndir via lookup the FAT table and continue the search.\n\nThe issue is in FAT16/12 system, we cannot get root dir's next clust\nfrom FAT table. The FAT table only be use to find the clust of data\naera in FAT16/12.\n\nIn FAT16/12 if the clust is in root dir, the clust number is a negative\nnumber or 0, 1. Since root dir is located in front of the data area.\nData area start clust #2. So the root dir clust number should < 2.\n\nThis patch will check above situation before call get_fatenv_value().\nIf curclust is < 2, include minus number, we just increase one on the\ncurclust since root dir is in continous cluster.\n\nThe patch also add a sanity check for entry in get_fatenv_value().\n\nSigned-off-by: Josh Wu <josh.wu@atmel.com>","distinct":true,"url":"https://api.github.com/repos/longsleep/u-boot-odroidc/commits/727ddef49c7b3fd21f086ae5998f00cd42fda2fc"}]}