Changeset cde999a in mainline for uspace/srv/fs/fat/fat_fat.c


Ignore:
Timestamp:
2018-01-04T20:22:51Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d95c9d, 84a1a54
Parents:
3c7702c0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
Message:

Fix comments to stop referring to error codes as negative.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.c

    r3c7702c0 rcde999a  
    7171 * @param max_clusters  Maximum number of clusters to visit.
    7272 *
    73  * @return              EOK on success or a negative error code.
     73 * @return              EOK on success or an error code.
    7474 */
    7575int
     
    121121 * @param flags         Flags passed to libblock.
    122122 *
    123  * @return              EOK on success or a negative error code.
     123 * @return              EOK on success or an error code.
    124124 */
    125125int
     
    186186 * @param flags         Flags passed to libblock.
    187187 *
    188  * @return              EOK on success or a negative error code.
     188 * @return              EOK on success or an error code.
    189189 */
    190190int
     
    235235 * @param pos           Position in the last node block.
    236236 *
    237  * @return              EOK on success or a negative error code.
     237 * @return              EOK on success or an error code.
    238238 */
    239239int
     
    287287 * @param value         Output argument holding the value of the cluster.
    288288 *
    289  * @return              EOK or a negative error code.
     289 * @return              EOK or an error code.
    290290 */
    291291static int
     
    357357 * @param value         Output argument holding the value of the cluster.
    358358 *
    359  * @return              EOK or a negative error code.
     359 * @return              EOK or an error code.
    360360 */
    361361static int
     
    388388 * @param value         Output argument holding the value of the cluster.
    389389 *
    390  * @return              EOK or a negative error code.
     390 * @return              EOK or an error code.
    391391 */
    392392static int
     
    421421 * @param value         Output argument holding the value of the cluster.
    422422 *
    423  * @return              EOK or a negative error code.
     423 * @return              EOK or an error code.
    424424 */
    425425int
     
    449449 * @param value         Value to set the cluster with.
    450450 *
    451  * @return              EOK on success or a negative error code.
     451 * @return              EOK on success or an error code.
    452452 */
    453453static int
     
    537537 * @param value         Value to set the cluster with.
    538538 *
    539  * @return              EOK on success or a negative error code.
     539 * @return              EOK on success or an error code.
    540540 */
    541541static int
     
    570570 * @param value         Value to set the cluster with.
    571571 *
    572  * @return              EOK on success or a negative error code.
     572 * @return              EOK on success or an error code.
    573573 */
    574574static int
     
    607607 * @param value         Value to set the cluster with.
    608608 *
    609  * @return              EOK on success or a negative error code.
     609 * @return              EOK on success or an error code.
    610610 */
    611611int
     
    634634 * @param nclsts        Number of clusters in the lifo chain.
    635635 *
    636  * @return              EOK on success or a negative error code.
     636 * @return              EOK on success or an error code.
    637637 */
    638638int fat_alloc_shadow_clusters(fat_bs_t *bs, service_id_t service_id,
     
    671671 *                      will be returned.
    672672 *
    673  * @return              EOK on success, a negative error code otherwise.
     673 * @return              EOK on success, an error code otherwise.
    674674 */
    675675int
     
    742742 * @param firstc        First cluster in the chain which is to be freed.
    743743 *
    744  * @return              EOK on success or a negative return code.
     744 * @return              EOK on success or an error code.
    745745 */
    746746int
     
    780780 * @param lcl           Last cluster of the cluster chain to append.
    781781 *
    782  * @return              EOK on success or a negative error code.
     782 * @return              EOK on success or an error code.
    783783 */
    784784int fat_append_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t mcl,
     
    827827 *                      be chopped off.
    828828 *
    829  * @return              EOK on success or a negative return code.
     829 * @return              EOK on success or an error code.
    830830 */
    831831int fat_chop_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t lcl)
Note: See TracChangeset for help on using the changeset viewer.