mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 03:58:05 +02:00
nouveau: fix return from function..
dude kernel moduless use kernel errors :) this fixes an oops on init when this codepath hits.
This commit is contained in:
parent
22d931f966
commit
562f95ea96
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue