Changeset 3bacee1 in mainline for kernel/arch/sparc64/src/sun4v/md.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/sun4v/md.c

    r76d0981d r3bacee1  
    6262        uint32_t name_blk_sz;           /**< Size in bytes of name block */
    6363        uint32_t data_blk_sz;           /**< Size in bytes of data block */
    64 } __attribute__ ((packed)) md_header_t;
     64} __attribute__((packed)) md_header_t;
    6565
    6666/** machine description element (in the node block) */
     
    9191                uint64_t val;
    9292        } d;
    93 } __attribute__ ((packed)) md_element_t;
     93} __attribute__((packed)) md_element_t;
    9494
    9595/** index of the element within the node block */
     
    9898/** buffer to which the machine description will be saved */
    9999static uint8_t mach_desc[MD_MAX_SIZE]
    100          __attribute__ ((aligned (16)));
     100    __attribute__((aligned(16)));
    101101
    102102
     
    129129 */
    130130bool md_get_integer_property(md_node_t node, const char *key,
    131         uint64_t *result)
     131    uint64_t *result)
    132132{
    133133        element_idx_t idx = node;
     
    152152 */
    153153bool md_get_string_property(md_node_t node, const char *key,
    154         const char **result)
     154    const char **result)
    155155{
    156156        md_header_t *md_header = (md_header_t *) mach_desc;
Note: See TracChangeset for help on using the changeset viewer.