Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 818fffe in mainline


Ignore:
Timestamp:
2011-09-15T18:03:53Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
4748038
Parents:
c82047d
Message:

cstyle

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/ras.c

    rc82047d r818fffe  
    8686}
    8787
     88/** @}
     89 */
  • kernel/generic/src/mm/frame.c

    rc82047d r818fffe  
    11421142        size_t znum = find_zone(pfn, 1, 0);
    11431143
    1144        
    11451144        ASSERT(znum != (size_t) -1);
    11461145       
  • uspace/drv/bus/isa/isa.c

    rc82047d r818fffe  
    405405static void fun_hw_res_alloc(isa_fun_t *fun)
    406406{
    407         fun->hw_resources.resources = 
     407        fun->hw_resources.resources =
    408408            (hw_resource_t *)malloc(sizeof(hw_resource_t) * ISA_MAX_HW_RES);
    409409}
  • uspace/lib/c/generic/adt/hash_table.c

    rc82047d r818fffe  
    152152       
    153153        if (keys == h->max_keys) {
    154                 link_t *cur;
    155                
    156154                /*
    157155                 * All keys are known, hash_table_find() can be used to find the
     
    159157                 */
    160158               
    161                 cur = hash_table_find(h, key);
     159                link_t *cur = hash_table_find(h, key);
    162160                if (cur) {
    163161                        list_remove(cur);
     
    174172        hash_index_t chain;
    175173        for (chain = 0; chain < h->entries; chain++) {
    176                 link_t *cur;
    177                
    178                 for (cur = h->entry[chain].head.next; cur != &h->entry[chain].head;
     174                for (link_t *cur = h->entry[chain].head.next;
     175                    cur != &h->entry[chain].head;
    179176                    cur = cur->next) {
    180177                        if (h->op->compare(key, keys, cur)) {
  • uspace/lib/c/include/ipc/loc.h

    rc82047d r818fffe  
    9797
    9898#endif
     99
     100/** @}
     101 */
  • uspace/lib/drv/generic/dev_iface.c

    rc82047d r818fffe  
    4646#include "remote_pci.h"
    4747
    48 #include <stdio.h>
    49 
    5048static iface_dipatch_table_t remote_ifaces = {
    5149        .ifaces = {
     
    6866get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx)
    6967{
    70         if (iface_method_idx >= rem_iface->method_count) {
     68        if (iface_method_idx >= rem_iface->method_count)
    7169                return NULL;
    72         }
    73 
     70       
    7471        return rem_iface->methods[iface_method_idx];
    7572}
  • uspace/lib/drv/generic/driver.c

    rc82047d r818fffe  
    271271       
    272272        devman_handle_t dev_handle = IPC_GET_ARG1(*icall);
    273         devman_handle_t parent_fun_handle = IPC_GET_ARG2(*icall);
     273        devman_handle_t parent_fun_handle = IPC_GET_ARG2(*icall);
    274274       
    275275        ddf_dev_t *dev = create_device();
Note: See TracChangeset for help on using the changeset viewer.