-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHEL-72207: Apply clang-format to ivshmem folder #1236
base: master
Are you sure you want to change the base?
RHEL-72207: Apply clang-format to ivshmem folder #1236
Conversation
@Jedoku The PR has conflicts. Otherwise +1 |
Signed-off-by: Vitalii Chulak <[email protected]>
44cc664
to
5d2e002
Compare
#if (NTDDI_VERSION >= NTDDI_WIN8) | ||
result = MmAllocateMdlForIoSpace(&deviceContext->shmemAddr, 1, &deviceContext->shmemMDL); | ||
result = MmAllocateMdlForIoSpace(&deviceContext->shmemAddr, 1, &deviceContext->shmemMDL); | ||
#else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a part for refactoring. This condition can be removed as we drop Win8 support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jedoku ignore this comment
ivshmem/Device.c
Outdated
DEBUG_INFO("%s", "This driver does not support > 64 interrupts, they will be ignored in the ISR."); | ||
DEBUG_INFO("%s", "This driver does not support > 64 interrupts, they will be ignored in the ISR."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why without brackets?
ivshmem/Queue.c
Outdated
if (fileContext->shmemMap) | ||
return STATUS_DEVICE_ALREADY_ATTACHED; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brackets?
ivshmem/test/ivshmem-test.cpp
Outdated
if (devHandle != INVALID_HANDLE_VALUE) | ||
CloseHandle(devHandle); | ||
|
||
if (infData) | ||
free(infData); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brackets?
s/clang-formatt/clang-format/ |
Signed-off-by: Vitalii Chulak <[email protected]>
No description provided.