lkml.org 
[lkml]   [2005]   [Mar]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: dereferencing module-internal pointer in scripts/mod/file2alias.c
FromRusty Russell <>
DateTue, 15 Mar 2005 02:36:40 +1100
On Tue, 2005-03-08 at 08:05 +0100, Dominik Brodowski wrote:
> Hi,
> 
> Is there any feasible way to dereference a pointer inside
> __mod_*_device_table which points to a string? 

No, because we would basically need to perform relocations to do so.
That is why arrays are used in the current structures.

Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman

-
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:11    [from the cache]
©2003-2008