From: Domen Puncer <domen@coderock.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: Andrew Morton <akpm@zip.com.au>,
kernel list <linux-kernel@vger.kernel.org>
Subject: Re: swsusp: more small fixes
Date: Wed, 12 Jan 2005 21:06:11 +0100 [thread overview]
Message-ID: <20050112200611.GM4978@nd47.coderock.org> (raw)
In-Reply-To: <20050112131010.GA1378@elf.ucw.cz>
On 12/01/05 14:10 +0100, Pavel Machek wrote:
> Hi!
>
> This adds few missing statics to swsusp.c, prints errors even when
> non-debugging and fixes last "pmdisk: " message. Fixed few comments.
> Please apply,
Some nitpicking...
>
> --- clean/kernel/power/swsusp.c 2005-01-12 11:07:40.000000000 +0100
> +++ linux/kernel/power/swsusp.c 2005-01-12 11:35:42.000000000 +0100
> @@ -420,7 +419,7 @@
> struct highmem_page *next;
> };
>
> -struct highmem_page *highmem_copy = NULL;
> +static struct highmem_page *highmem_copy = NULL;
You could remove explicit initialization (so pointer would go into bss
instead of data, IIRC).
> @@ -753,21 +753,21 @@
> return -ENOSPC;
>
> if ((error = alloc_pagedir())) {
> - pr_debug("suspend: Allocating pagedir failed.\n");
> + printk("suspend: Allocating pagedir failed.\n");
Missing KERN_ constant.
> return error;
> }
> if ((error = alloc_image_pages())) {
> - pr_debug("suspend: Allocating image pages failed.\n");
> + printk("suspend: Allocating image pages failed.\n");
Same here.
Domen
next prev parent reply other threads:[~2005-01-12 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 13:10 swsusp: more small fixes Pavel Machek
2005-01-12 20:06 ` Domen Puncer [this message]
2005-01-12 20:52 ` Pavel Machek
2005-01-12 22:10 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050112200611.GM4978@nd47.coderock.org \
--to=domen@coderock.org \
--cc=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.