All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics
Date: Sun, 01 Feb 2004 00:55:12 +1100	[thread overview]
Message-ID: <20040131135910.7892A2C0A3@lists.samba.org> (raw)
In-Reply-To: Your message of "Sat, 31 Jan 2004 13:52:48 BST." <401BA520.7070204@gmx.net>

In message <401BA520.7070204@gmx.net> you write:
> -	for (i = 0; __start___ksymtab+i < __stop___ksymtab; i++) {
> +	for (i = 0; __start___ksymtab+i*sizeof(struct kernel_symbol) < __stop___ksymtab; i++) {

Above in this file, there is the declaration:

extern const struct kernel_symbol __start___ksymtab[];

What makes you think you need to multiply here?

Puzzled,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

  reply	other threads:[~2004-01-31 13:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-31 12:52 [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics Carl-Daniel Hailfinger
2004-01-31 13:55 ` Rusty Russell [this message]
2004-01-31 16:35   ` Carl-Daniel Hailfinger

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=20040131135910.7892A2C0A3@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=c-d.hailfinger.kernel.2004@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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 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.