1. 14 Jul, 2004 3 commits
    • Olaf Hering's avatar
      [PATCH] add removeable sysfs block device attribute · 3b08aa64
      Olaf Hering authored
      This patch adds a /block/*/removeable sysfs attribute. A value of 1
      indicates the media can change anytime. This is a hint for userland
      to poll such devices for possible media changes, and leave all others alone.
      There is currently no way to see if a connected usb-storage device is a
      disk or a card reader. It will also show 1 for CD and ZIP drives.
      
      It was done by Patrick Mansfield a while ago. I can probably not
      sigh-off his work. ;)
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      3b08aa64
    • Mika Kukkonen's avatar
      [PATCH] Upgrade security/root_plug.c to new module parameter syntax · fd205fa2
      Mika Kukkonen authored
      Hi again,
      
      Still doing my compile, and got this:
      
       CC [M]  security/root_plug.o
      security/root_plug.c:39: warning: missing initializer
      security/root_plug.c:39: warning: (near initialization for `__parm_vendor_id.addr')
      security/root_plug.c:42: warning: missing initializer
      security/root_plug.c:42: warning: (near initialization for `__parm_product_id.addr')
      security/root_plug.c:48: warning: missing initializer
      security/root_plug.c:48: warning: (near initialization for `__parm_debug.addr')
      
      Simply upgrading root_plug to use the new module parameter syntax seemed to do
      the trick. I made the debug writable, the others just readable to root.
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      fd205fa2
    • Dmitry Torokhov's avatar
      [PATCH] Driver core: Fix OOPS in device_platform_unregister · b6c1cfc6
      Dmitry Torokhov authored
      Driver core: platform_device_unregister should release resources first
                   and only then call device_unregister, otherwise if there
                   are no more references to the device it will be freed and
                   the fucntion will try to access freed memory.
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      b6c1cfc6
  2. 08 Jul, 2004 4 commits
  3. 07 Jul, 2004 1 commit
  4. 06 Jul, 2004 32 commits