lkml.org 
[lkml]   [2004]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [2.6.2-rc3] Fix module.c pointer arithmetics
Rusty Russell wrote:
> 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?

-ENOCAFFEINE. (Note to self: Never send patches while asleep)
Now that I'm awake again, I feel ashamed.


> Puzzled,
> Rusty.

Sorry for the confusion,
Carl-Daniel.

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.029 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site