diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-08-31 07:05:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-02 23:38:50 +0100 |
commit | 0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23 (patch) | |
tree | 444487be00b8ebaf1059b404e28e04ef3d703dfe /documentation | |
parent | 97768b81c1b60692775ba0dcc97c6dc7376d09ce (diff) | |
download | ast2050-yocto-poky-0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23.zip ast2050-yocto-poky-0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23.tar.gz |
documentation/dev-manual/dev-manual-kernel-appendix.xml: moved statement
Dave Stewart said that good coding practice is to set the variables
before any print statements. So I moved one statement above the
example printk statements.
(From yocto-docs rev: bad0537a5a6472fb3fef06de9763990a0c352e25)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-kernel-appendix.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml index ffe3230..68b7642 100644 --- a/documentation/dev-manual/dev-manual-kernel-appendix.xml +++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml @@ -159,7 +159,7 @@ </section> <section id='setting-up-the-poky-extras-git-repository'> - <title>Setting Up the <filename>poky-extras</filename> Git Repository</title> + <title>Setting Up the poky-extras Git Repository</title> <para> This example places the <filename>poky-extras</filename> Git repository inside @@ -317,12 +317,12 @@ { unsigned long ticks, loopbit; int lps_precision = LPS_PREC; + static bool printed; printk("*************************************\n"); printk("* *\n"); printk("* HELLO YOCTO KERNEL *\n"); printk("* *\n"); printk("*************************************\n"); - static bool printed; if (preset_lpj) { . |