[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-patches
Subject:    drm: Branch 'master'
From:       airlied () kemper ! freedesktop ! org (Dave Airlie)
Date:       2008-03-31 1:35:28
Message-ID: 20080331013528.5A3E510096 () kemper ! freedesktop ! org
[Download RAW message or body]

 shared-core/nouveau_state.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 562f95ea96f08e1d73a872dc87237614292c873a
Author: Dave Airlie <airlied@redhat.com>
Date:   Mon Mar 31 11:34:48 2008 +1000

    nouveau: fix return from function..
    
    dude kernel moduless use kernel errors :)
    
    this fixes an oops on init when this codepath hits.

diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index 5ed16d7..555955d 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -46,7 +46,7 @@ static int nouveau_init_card_mappings(struct drm_device *dev)
 		DRM_ERROR("Unable to initialize the mmio mapping (%d). "
 			  "Please report your setup to " DRIVER_EMAIL "\n",
 			  ret);
-		return 1;
+		return -EINVAL;
 	}
 	DRM_DEBUG("regs mapped ok at 0x%lx\n", dev_priv->mmio->offset);
 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-patches mailing list
Dri-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic