01 Jul, 2006

1 commit


29 Mar, 2006

1 commit

  • Since dash2underscore() just operates and returns chars, I guess its safe
    to change the return value to a char. With my .config, this reduces its
    size by 5 bytes.

    text data bss dec hex filename
    4155 152 0 4307 10d3 params.o.orig
    4150 152 0 4302 10ce params.o

    Signed-off-by: Eric Sesterhenn
    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Sesterhenn
     

26 Mar, 2006

1 commit


21 Mar, 2006

1 commit

  • The module files, refcnt, version, and srcversion did not properly
    increment the owner's module reference count, allowing the modules to
    be removed while the files were open, causing oopses.

    This patch fixes this, and also fixes the problem that the version and
    srcversion files were not showing up, unless CONFIG_MODULE_UNLOAD was
    enabled, which is not correct.

    Cc: Nathan Lynch
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

21 Dec, 2005

1 commit

  • All the work was done to setup the file and maintain the file handles but
    the access functions were zeroed out due to the #ifdef. Removing the
    #ifdef allows full access to all the parameters when CONFIG_MODULES=n.

    akpm: put it back again, but use CONFIG_SYSFS instead.

    Signed-off-by: Jason Wessel
    Signed-off-by: Andrew Morton
    Signed-off-by: Adrian Bunk
    Signed-off-by: Linus Torvalds

    Jason Wessel
     

31 Oct, 2005

1 commit

  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

28 Sep, 2005

1 commit


08 Sep, 2005

1 commit


21 Jun, 2005

1 commit


17 Apr, 2005

2 commits

  • there seems to be a bug, at least for me, in kernel/param.c for arrays with
    .num == NULL. If .num == NULL, the function param_array_set() uses &.max
    for the call to param_array(), wich alters the .max value to the number of
    arguments. The result is, you can't set more array arguments as the last
    time you set the parameter.

    example:

    # a module 'example' with
    # static int array[10] = { 0, };
    # module_param_array(array, int, NULL, 0644);

    $ insmod example.ko array=1,2,3
    $ cat /sys/module/example/parameters/array
    1,2,3
    $ echo "4,3,2,1" > /sys/module/example/parameters/array
    $ dmesg | tail -n 1
    kernel: array: can take only 3 arguments

    Signed-off-by: Bert Wesarg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bert Wesarg
     
  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds