Changeset 1b20da0 in mainline for kernel/generic/src/log/log.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 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:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/log/log.c

    rdf6ded8 r1b20da0  
    9292 */
    9393void log_init(void)
    94 {       
     94{
    9595        event_set_unmask_callback(EVENT_KLOG, log_update);
    9696        atomic_set(&log_inited, true);
     
    112112
    113113/** Append data to the currently open log entry.
    114  * 
     114 *
    115115 * This function requires that the log_lock is acquired by the caller.
    116116 */
     
    143143
    144144/** Begin writing an entry to the log.
    145  * 
     145 *
    146146 * This acquires the log and output buffer locks, so only calls to log_* functions should
    147147 * be used until calling log_end.
     
    167167
    168168/** Finish writing an entry to the log.
    169  * 
     169 *
    170170 * This releases the log and output buffer locks.
    171171 */
     
    233233
    234234/** Append a message to the currently being written entry.
    235  * 
     235 *
    236236 * Requires that an entry has been started using log_begin()
    237237 */
     
    253253
    254254/** Append a message to the currently being written entry.
    255  * 
     255 *
    256256 * Requires that an entry has been started using log_begin()
    257257 */
     
    269269
    270270/** Log a message to the kernel log.
    271  * 
     271 *
    272272 * This atomically appends a log entry.
    273273 * The resulting message should not contain a trailing newline, as the log
     
    339339                               
    340340                                if (entry_len > PAGE_SIZE) {
    341                                         /* 
     341                                        /*
    342342                                         * Since we limit data transfer
    343343                                         * to uspace to a maximum of PAGE_SIZE
Note: See TracChangeset for help on using the changeset viewer.