|
64 | 64 | } \ |
65 | 65 | } |
66 | 66 |
|
67 | | -// only return errors through pApi->status |
| 67 | +// Only return errors through pApi->status |
68 | 68 | static void RmCreateOsDescriptor(NVOS32_PARAMETERS *pApi, API_SECURITY_INFO secInfo) |
69 | 69 | { |
70 | 70 | NV_STATUS rmStatus; |
@@ -143,7 +143,7 @@ static void RmCreateOsDescriptor(NVOS32_PARAMETERS *pApi, API_SECURITY_INFO secI |
143 | 143 | pApi->status = rmStatus; |
144 | 144 | } |
145 | 145 |
|
146 | | -// only return errors through pApi->status |
| 146 | +// Only return errors through pApi->status |
147 | 147 | static void RmAllocOsDescriptor(NVOS02_PARAMETERS *pApi, API_SECURITY_INFO secInfo) |
148 | 148 | { |
149 | 149 | NV_STATUS rmStatus = NV_OK; |
@@ -199,7 +199,7 @@ static void RmAllocOsDescriptor(NVOS02_PARAMETERS *pApi, API_SECURITY_INFO secIn |
199 | 199 | if (DRF_VAL(OS02, _FLAGS, _ALLOC_USER_READ_ONLY, pApi->flags)) |
200 | 200 | attr2 = FLD_SET_DRF(OS32, _ATTR2, _PROTECTION_USER, _READ_ONLY, attr2); |
201 | 201 |
|
202 | | - // currently CPU-RO memory implies GPU-RO as well |
| 202 | + // Currently CPU-RO memory implies GPU-RO as well |
203 | 203 | if (DRF_VAL(OS02, _FLAGS, _ALLOC_DEVICE_READ_ONLY, pApi->flags) || |
204 | 204 | DRF_VAL(OS02, _FLAGS, _ALLOC_USER_READ_ONLY, pApi->flags)) |
205 | 205 | attr2 = FLD_SET_DRF(OS32, _ATTR2, _PROTECTION_DEVICE, _READ_ONLY, attr2); |
|
0 commit comments