Linux PARISC architecture development
 help / color / mirror / Atom feed
From: rbradetich@uswest.net (Ryan Bradetich)
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] [PATCH] Additional Address cleanup
Date: Fri, 21 Sep 2001 12:21:07 -0600	[thread overview]
Message-ID: <20010921122107.A2168@beavis.ybsoft.com> (raw)
In-Reply-To: <20010921104838.A2049@beavis.ybsoft.com>

Hello parisc-linux hackers,

Rereading the patch, I spotted a bug in the kmalloc *sigh*.

> +	dev->addr = kmalloc(sizeof(unsigned long), num_addrs);

The kmalloc should look like this (I think).
	dev->addr = kmalloc(num_addrs * sizeof(unsigned long), GFP_KERNEL);

- Ryan

  reply	other threads:[~2001-09-21 18:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-21 16:48 [parisc-linux] [PATCH] Additional Address cleanup Ryan Bradetich
2001-09-21 18:21 ` Ryan Bradetich [this message]
2001-09-21 18:35 ` Matthew Wilcox
2001-09-24 11:06 ` Rüdiger Scholz
2001-09-25  3:59   ` Ryan Bradetich
2001-09-25 17:33     ` Rüdiger Scholz
2001-09-25 19:00       ` Thomas Bogendoerfer
2001-10-01 17:12         ` Rüdiger Scholz
2001-10-02 12:57           ` Thomas Bogendoerfer

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=20010921122107.A2168@beavis.ybsoft.com \
    --to=rbradetich@uswest.net \
    --cc=parisc-linux@lists.parisc-linux.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox