Changeset cde999a in mainline for uspace/app


Ignore:
Timestamp:
2018-01-04T20:22:51Z (8 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.

Location:
uspace/app
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/mkfile/mkfile.c

    r3c7702c0 rcde999a  
    8787 * @param str   String containing the size specification.
    8888 * @param rsize Place to store size in bytes
    89  * @return      EOK on success or error code
     89 * @return      EOK on success or an error code
    9090 */
    9191static int read_size(const char *str, size_t *rsize)
  • uspace/app/edit/sheet.c

    r3c7702c0 rcde999a  
    9595 * @param str   The text to insert (printable characters, tabs, newlines).
    9696 *
    97  * @return      EOK on success or negative error code.
     97 * @return      EOK on success or an error code.
    9898 *
    9999 * @note        @a dir affects which way tags that were placed on @a pos will
     
    145145 * @param epos  Ending point.
    146146 *
    147  * @return      EOK on success or negative error code.
     147 * @return      EOK on success or an error code.
    148148 **/
    149149int sheet_delete(sheet_t *sh, spt_t *spos, spt_t *epos)
  • uspace/app/mkexfat/mkexfat.c

    r3c7702c0 rcde999a  
    344344 * @param cfg  Pointer to the exFAT configuration structure.
    345345 * @param base Base sector of the EBS.
    346  * @return  EOK on success or a negative error code.
     346 * @return  EOK on success or an error code.
    347347 */
    348348static int
     
    397397 * @param service_id  The service id.
    398398 * @param cfg Pointer to the exfat_cfg structure.
    399  * @return EOK on success or a negative error code.
     399 * @return EOK on success or an error code.
    400400 */
    401401static int
     
    437437 * @param cur_cls  Cluster index from where to start the allocation.
    438438 * @param ncls  Number of clusters to allocate.
    439  * @return EOK on success or a negative error code.
     439 * @return EOK on success or an error code.
    440440 */
    441441static int
     
    494494 * @param service_id   The service id.
    495495 * @param cfg  Pointer to the exfat configuration structure.
    496  * @return  EOK on success or a negative error code.
     496 * @return  EOK on success or an error code.
    497497 */
    498498static int
     
    593593 * @param service_id   The service id.
    594594 * @param cfg   Pointer to the exFAT configuration structure.
    595  * @return   EOK on success or a negative error code.
     595 * @return   EOK on success or an error code.
    596596 */
    597597static int
  • uspace/app/mkmfs/mkmfs.c

    r3c7702c0 rcde999a  
    290290 * @param sb            Pointer to the superblock structure.
    291291 *
    292  * @return              EOK on success or a negative error code.
     292 * @return              EOK on success or an error code.
    293293 */
    294294static int insert_dentries(const struct mfs_sb_info *sb)
     
    343343 * @param sb            Pointer to the superblock structure.
    344344 *
    345  * @return              EOK on success or a negative error code.
     345 * @return              EOK on success or an error code.
    346346 */
    347347static int init_inode_table(const struct mfs_sb_info *sb)
     
    376376 * @param sb            Ponter to the superblock structure.
    377377 *
    378  * @return              EOK on success or a negative error code.
     378 * @return              EOK on success or an error code.
    379379 */
    380380static int make_root_ino(const struct mfs_sb_info *sb)
     
    413413 * @param sb            Pointer to the superblock structure.
    414414 *
    415  * @return              EOK on success or a negative error code.
     415 * @return              EOK on success or an error code.
    416416 */
    417417static int make_root_ino2(const struct mfs_sb_info *sb)
     
    452452 * @param sb            Pointer to the superblock structure.
    453453 *
    454  * @return              EOK on success or a negative error code.
     454 * @return              EOK on success or an error code.
    455455 */
    456456static int init_superblock(struct mfs_sb_info *sb)
     
    559559 * @param sbi           Pointer to the superblock structure to write on disk.
    560560 *
    561  * @return              EOK on success or a negative error code.
     561 * @return              EOK on success or an error code.
    562562 */
    563563static int write_superblock(const struct mfs_sb_info *sbi)
     
    592592 * @param sbi           Pointer to the superblock structure to write on disk.
    593593 *
    594  * @return              EOK on success or a negative error code.
     594 * @return              EOK on success or an error code.
    595595 */
    596596static int write_superblock3(const struct mfs_sb_info *sbi)
     
    625625 * @param sb            Pointer to the superblock structure.
    626626 *
    627  * @return              EOK on success or a negative error code.
     627 * @return              EOK on success or an error code.
    628628 */
    629629static int init_bitmaps(const struct mfs_sb_info *sb)
     
    699699 * @param data          Pointer to the block content.
    700700 *
    701  * @return              EOK on success or a negative error number.
     701 * @return              EOK on success or a error number.
    702702 */
    703703static inline int write_block(aoff64_t off, size_t size, const void *data)
  • uspace/app/sysinst/sysinst.c

    r3c7702c0 rcde999a  
    8383 * @param pdev Place to store partition device name
    8484 *
    85  * @return EOK on success or error code
     85 * @return EOK on success or an error code
    8686 */
    8787static int sysinst_label_dev(const char *dev, char **pdev)
     
    152152 *
    153153 * @param dev Partition device
    154  * @return EOK on success or error code
     154 * @return EOK on success or an error code
    155155 */
    156156static int sysinst_fs_mount(const char *dev)
     
    191191/** Copy boot files.
    192192 *
    193  * @return EOK on success or error code
     193 * @return EOK on success or an error code
    194194 */
    195195static int sysinst_copy_boot_files(void)
     
    258258 *
    259259 * @param devp Disk device
    260  * @return EOK on success or error code
     260 * @return EOK on success or an error code
    261261 */
    262262static int sysinst_copy_boot_blocks(const char *devp)
     
    353353 *
    354354 * @param dev Device to install to.
    355  * @return EOK on success or error code
     355 * @return EOK on success or an error code
    356356 */
    357357static int sysinst_install(const char *dev)
  • uspace/app/taskdump/symtab.c

    r3c7702c0 rcde999a  
    285285/** Check if ELF header is valid.
    286286 *
    287  * @return      EOK on success or negative error code.
     287 * @return      EOK on success or an error code.
    288288 */
    289289static int elf_hdr_check(elf_header_t *ehdr)
Note: See TracChangeset for help on using the changeset viewer.