1. 28 7月, 2005 4 次提交
  2. 18 7月, 2005 1 次提交
  3. 08 7月, 2005 3 次提交
  4. 07 7月, 2005 1 次提交
  5. 30 6月, 2005 1 次提交
  6. 28 6月, 2005 1 次提交
  7. 26 6月, 2005 5 次提交
  8. 24 6月, 2005 1 次提交
  9. 22 6月, 2005 14 次提交
  10. 21 6月, 2005 2 次提交
  11. 14 6月, 2005 2 次提交
  12. 13 6月, 2005 1 次提交
  13. 29 5月, 2005 1 次提交
    • P
      [PATCH] intelfb section fix · 346e399b
      Patrick McManus 提交于
      On Nov 16 2004 a change to intelfbdrv.c was commited (as part of 0.9.2 it
      looks like) that added __initdata to all of the module param variables that
      seems to create the opportunity for an oops.
      
      I've recently been chasing an OOPS
      (http://marc.theaimsgroup.com/?l=linux-kernel&m=111552250920370&w=2) I
      created by reading every file on the /sys file system and I've traced it
      back to this code in the intelfbdrv.  Though I had root privs in my initial
      problem report, it turns out they are un-necessary to generate the oops -
      all you've got to do is "cat /sys/module/intelfb/parameters/mode" enough
      times and eventually it will oops.
      
      This is because sysfs automatically exports all module_param declarations
      to the sysfs file system..  which means those variables can be dynamically
      evaluated at any later time, which of course means marking them __initdata
      is a bad idea ;)..  when they happen to be char *'s it is an especially bad
      idea ;).
      
      Applying the patch below clears up the OOPS for me.
      Signed-off-by: NPatrick McManus <mcmanus@ducksong.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      346e399b
  14. 06 5月, 2005 1 次提交
  15. 04 5月, 2005 1 次提交
  16. 03 5月, 2005 1 次提交