]> git.neil.brown.name Git - history.git/commit
[PATCH] DRM modprobe retval fix
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Oct 2003 01:22:45 +0000 (18:22 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 01:22:45 +0000 (18:22 -0700)
commit20fe1d1c0e992740a004472bad5bc97900a6decd
tree971b63a48abb44d94486d414422ba7717b5c11d3
parent500ea96b14fe448562767f53e3fe487867272ff6
[PATCH] DRM modprobe retval fix

If you try to load a DRM module when agpgart is not present, modprobe says
"Cannot allocate memory", which is rather misleading.

Make it return -EINVAL instead.
drivers/char/drm/drm_drv.h