From: Rolf Eike Beer <eike-kernel@sf-tec.de>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, Eric Sesterhenn <snakebyte@gmx.de>
Subject: Re: [PATCH] drivers/video/*: use kmemdup()
Date: Mon, 30 Oct 2006 10:45:57 +0100 [thread overview]
Message-ID: <200610301046.03714.eike-kernel@sf-tec.de> (raw)
In-Reply-To: <20061029195803.GC4900@martell.zuzino.mipt.ru>
[-- Attachment #1: Type: text/plain, Size: 866 bytes --]
Alexey Dobriyan wrote:
> From: Eric Sesterhenn <snakebyte@gmx.de>
>
> Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> ---
>
> drivers/video/aty/radeon_monitor.c | 3 +--
> drivers/video/i810/i810-i2c.c | 4 +---
> drivers/video/intelfb/intelfbdrv.c | 3 +--
> drivers/video/nvidia/nv_i2c.c | 7 ++-----
> drivers/video/nvidia/nv_of.c | 3 +--
> drivers/video/savage/savagefb-i2c.c | 7 ++-----
> 6 files changed, 8 insertions(+), 19 deletions(-)
>
> --- a/drivers/video/aty/radeon_monitor.c
> +++ b/drivers/video/aty/radeon_monitor.c
> @@ -104,10 +104,9 @@ static int __devinit radeon_parse_montyp
> if (pedid == NULL)
> return mt;
>
> - tmp = (u8 *)kmalloc(EDID_LENGTH, GFP_KERNEL);
> + tmp = (u8 *)kmemdup(pedid, EDID_LENGTH, GFP_KERNEL);
No cast here.
Eike
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2006-10-30 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-29 19:58 [PATCH] drivers/video/*: use kmemdup() Alexey Dobriyan
2006-10-30 9:45 ` Rolf Eike Beer [this message]
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=200610301046.03714.eike-kernel@sf-tec.de \
--to=eike-kernel@sf-tec.de \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=snakebyte@gmx.de \
/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.