Module Name: src Committed By: riastradh Date: Sun Feb 14 03:06:06 UTC 2016
Modified Files: src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bar: nouveau_subdev_bar_base.c Log Message: Fix bus_space_subregion error branch. Return error code, not 0 (!), on bus_space_subregion failure. In answer to `XXX error branch' comment: if nouveau_barobj_ctor fails, then the caller will call nouveau_barobj_dtor too. So there's no leak here. Unlikely to fix any observed bugs with nouveau -- there's no error branch in the Linux side here. But maybe it will catch some other bug earlier. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bar/nouveau_subdev_bar_base.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.