Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics
From: Rusty Russell (rusty_at_rustcorp.com.au)
Date: 01/31/04
- Previous message: John Bradford: "Re: ANNOUNCEMENT: Linux Netwosix 1.0 with Kernel 2.6.1 is released"
- In reply to: Carl-Daniel Hailfinger: "[PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Next in thread: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Reply: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Carl-Daniel Hailfinger <c-d.hailfinger.kernel.2004@gmx.net> Date: Sun, 01 Feb 2004 00:55:12 +1100
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: John Bradford: "Re: ANNOUNCEMENT: Linux Netwosix 1.0 with Kernel 2.6.1 is released"
- In reply to: Carl-Daniel Hailfinger: "[PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Next in thread: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Reply: Carl-Daniel Hailfinger: "Re: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|