Skip to content

Commit aaaa7d9

Browse files
keroesluxmmaneetsingh
authored andcommitted
Fixed capitalization
1 parent 6414743 commit aaaa7d9

File tree

1 file changed

+3
-3
lines changed
  • src/nvidia/arch/nvalloc/unix/src

1 file changed

+3
-3
lines changed

src/nvidia/arch/nvalloc/unix/src/escape.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
} \
6565
}
6666

67-
// only return errors through pApi->status
67+
// Only return errors through pApi->status
6868
static void RmCreateOsDescriptor(NVOS32_PARAMETERS *pApi, API_SECURITY_INFO secInfo)
6969
{
7070
NV_STATUS rmStatus;
@@ -143,7 +143,7 @@ static void RmCreateOsDescriptor(NVOS32_PARAMETERS *pApi, API_SECURITY_INFO secI
143143
pApi->status = rmStatus;
144144
}
145145

146-
// only return errors through pApi->status
146+
// Only return errors through pApi->status
147147
static void RmAllocOsDescriptor(NVOS02_PARAMETERS *pApi, API_SECURITY_INFO secInfo)
148148
{
149149
NV_STATUS rmStatus = NV_OK;
@@ -199,7 +199,7 @@ static void RmAllocOsDescriptor(NVOS02_PARAMETERS *pApi, API_SECURITY_INFO secIn
199199
if (DRF_VAL(OS02, _FLAGS, _ALLOC_USER_READ_ONLY, pApi->flags))
200200
attr2 = FLD_SET_DRF(OS32, _ATTR2, _PROTECTION_USER, _READ_ONLY, attr2);
201201

202-
// currently CPU-RO memory implies GPU-RO as well
202+
// Currently CPU-RO memory implies GPU-RO as well
203203
if (DRF_VAL(OS02, _FLAGS, _ALLOC_DEVICE_READ_ONLY, pApi->flags) ||
204204
DRF_VAL(OS02, _FLAGS, _ALLOC_USER_READ_ONLY, pApi->flags))
205205
attr2 = FLD_SET_DRF(OS32, _ATTR2, _PROTECTION_DEVICE, _READ_ONLY, attr2);

0 commit comments

Comments
 (0)