Changeset 7555 in vbox for trunk/src/VBox/Additions/linux/module
- Timestamp:
- Mar 25, 2008 3:49:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.c
r7438 r7555 882 882 { 883 883 LogRelFunc(("did not find expected hardware resources!\n")); 884 err = -ENXIO; 884 885 goto fail; 885 886 } … … 889 890 { 890 891 LogRelFunc(("failed to request adapter memory!\n")); 892 err = -ENXIO; 891 893 goto fail; 892 894 } … … 898 900 { 899 901 LogRelFunc(("ioremap failed\n")); 902 err = -ENOMEM; 900 903 goto fail; 901 904 } … … 905 908 LogRelFunc(("invalid VMM device memory version! (got 0x%x, expected 0x%x)\n", 906 909 vboxDev->pVMMDevMemory->u32Version, VMMDEV_MEMORY_VERSION)); 910 err = -ENXIO; 907 911 goto fail; 908 912 } … … 913 917 { 914 918 LogRelFunc(("could not initialize VBGL subsystem! rc = %Vrc\n", rcVBox)); 919 err = -ENXIO; 915 920 goto fail; 916 921 } … … 922 927 { 923 928 LogRelFunc(("could not allocate request structure! rc = %Vrc\n", rcVBox)); 929 err = -ENOMEM; 924 930 goto fail; 925 931 } … … 938 944 rcVBox, infoReq->header.rc)); 939 945 VbglGRFree(&infoReq->header); 946 err = -ENXIO; 940 947 goto fail; 941 948 } … … 955 962 { 956 963 LogRelFunc(("could not allocate request structure! rc = %Vrc\n", rcVBox)); 964 err = -ENOMEM; 957 965 goto fail; 958 966 } … … 962 970 VbglGRFree(&vmmreqGuestCaps->header); 963 971 if (RT_FAILURE(rcVBox)) 972 { 973 err = -ENXIO; 964 974 goto fail; 975 } 965 976 } 966 977 … … 977 988 { 978 989 LogRelFunc(("could not allocate request structure! rc = %Vrc\n", rcVBox)); 990 err = -ENOMEM; 979 991 goto fail; 980 992 }
Note:
See TracChangeset
for help on using the changeset viewer.