All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 96d5b1db authored by Charles Jacobsen's avatar Charles Jacobsen Committed by Vikram Narayanan

Minor changes.

parent 7e03f8af
......@@ -8,7 +8,7 @@
static inline void __au_err(char *file, int lineno, char *fmt, ...)
{
va_list args;
pr_err("cs: %s:%d: error: ", file, lineno);
pr_err("lcd-ipc-auto: %s:%d: error: ", file, lineno);
va_start(args, fmt);
vprintk(fmt, args);
va_end(args);
......@@ -17,7 +17,7 @@ static inline void __au_err(char *file, int lineno, char *fmt, ...)
static inline void __au_msg(char *file, int lineno, char *fmt, ...)
{
va_list args;
pr_info("cs: %s:%d: note: ", file, lineno);
pr_info("lcd-ipc-auto: %s:%d: note: ", file, lineno);
va_start(args, fmt);
vprintk(fmt, args);
va_end(args);
......@@ -26,7 +26,7 @@ static inline void __au_msg(char *file, int lineno, char *fmt, ...)
static inline void __au_warn(char *file, int lineno, char *fmt, ...)
{
va_list args;
pr_warn("cs: %s:%d: warning: ", file, lineno);
pr_warn("lcd-ipc-auto: %s:%d: warning: ", file, lineno);
va_start(args, fmt);
vprintk(fmt, args);
va_end(args);
......
......@@ -39,7 +39,7 @@ static int __init customer_init(void)
#ifdef CONFIG_RUN_IN_LCD
void customer_exit(void)
#else
static void __init customer_exit(void)
static void __exit customer_exit(void)
#endif
{
AU_MSG("customer exited");
......
......@@ -74,7 +74,7 @@ static int __init dealer_init(void)
#ifdef CONFIG_RUN_IN_LCD
void dealer_exit(void)
#else
static void __init dealer_exit(void)
static void __exit dealer_exit(void)
#endif
{
AU_MSG("dealer exited");
......
......@@ -25,6 +25,7 @@ static struct engine * mk_engine(int cylinders)
e = kmalloc(sizeof(*e), GFP_KERNEL);
if (!e)
AU_ERR("no memory for engine");
e->cylinders = 8;
return e;
}
......@@ -96,7 +97,7 @@ static int __init manufacturer_init(void)
#ifdef CONFIG_RUN_IN_LCD
void manufacturer_exit(void)
#else
static void __init manufacturer_exit(void)
static void __exit manufacturer_exit(void)
#endif
{
AU_MSG("manufacturer exited");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment