KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 1 as of 2006-09-23 01:34:47
KernelNewbies:
  • KernelJanitors
  • Todo
  • ReturnCodes

Audit return codes (and handle failure correctly) for:

  • request_region()
  • request_irq()
  • kmalloc(), vmalloc(), etc
  • register_netdev() has to be checked as well
  • misc_register() (yes, it can fail, murphy's law applies here as well)
  • scsi_register()
  • create_proc_*()
  • pci_map_* might return 0 for a valid mapping.
    • Some code tests mapping for a non-zero value, which is incorrect.
  • get_free_pages() and get_free_page()
  • ioremap() -- Some are using this as a pointer, which is wrong.
  • put/get_user()
  • copy_*_user(), unlike put_user() it returns number of bytes failed to copy.
  • kernel_thread()
  • IDE drivers, as it can cause a real problem:
    • [D: http://marc.theaimsgroup.com/?l=kernel-janitor-discuss&m=110416923101031]

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01