patch-2.4.25 linux-2.4.25/drivers/char/drm/drm_agpsupport.h

Next file: linux-2.4.25/drivers/char/drm/drm_bufs.h
Previous file: linux-2.4.25/drivers/char/drm/drmP.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/char/drm/drm_agpsupport.h linux-2.4.25/drivers/char/drm/drm_agpsupport.h
@@ -79,7 +79,7 @@
 		return -EBUSY;
 	if(!drm_agp->acquire)
 		return -EINVAL;
-	if (retcode = drm_agp->acquire())
+	if ((retcode = drm_agp->acquire()))
 		return retcode;
 	dev->agp->acquired = 1;
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)