Changeset 903d2ec in rtems for cpukit/dtc


Ignore:
Timestamp:
Apr 8, 2017, 4:14:42 PM (3 years ago)
Author:
Simon Glass <sjg@…>
Branches:
master
Children:
a1c3b41a
Parents:
f984d8f
git-author:
Simon Glass <sjg@…> (04/08/17 16:14:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/19/18 05:01:11)
Message:

Fix a few whitespace and style nits

These were noticed when synching with U-Boot's downstream tree.

Signed-off-by: Simon Glass <sjg@…>
Signed-off-by: David Gibson <david@…>

Location:
cpukit/dtc/libfdt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/dtc/libfdt/fdt_empty_tree.c

    rf984d8f r903d2ec  
    8282        return fdt_open_into(buf, buf, bufsize);
    8383}
    84 
  • cpukit/dtc/libfdt/fdt_ro.c

    rf984d8f r903d2ec  
    6161        const char *p = fdt_offset_ptr(fdt, offset + FDT_TAGSIZE, len+1);
    6262
    63         if (! p)
     63        if (!p)
    6464                /* short match */
    6565                return 0;
     
    328328
    329329        prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
    330         if (! prop)
     330        if (!prop)
    331331                return NULL;
    332332
  • cpukit/dtc/libfdt/fdt_rw.c

    rf984d8f r903d2ec  
    208208
    209209        *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
    210         if (! (*prop))
     210        if (!*prop)
    211211                return oldlen;
    212212
     
    324324
    325325        prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
    326         if (! prop)
     326        if (!prop)
    327327                return len;
    328328
  • cpukit/dtc/libfdt/fdt_wip.c

    rf984d8f r903d2ec  
    8383
    8484        propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
    85         if (! propval)
     85        if (!propval)
    8686                return proplen;
    8787
     
    108108
    109109        prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
    110         if (! prop)
     110        if (!prop)
    111111                return len;
    112112
Note: See TracChangeset for help on using the changeset viewer.