No description provided.
Add remote cdrom support in ipmi_chassis_set_bootdev #49
Merged
AlexanderAmelkin
merged 2 commits from 2024年12月02日 17:39:35 +01:00
yanggang/ipmitool:feature/bootdev-remotecdrom-support into master
yanggang
commented 2024年10月18日 10:28:58 +02:00
yanggang
requested review from AlexanderAmelkin 2024年10月18日 10:34:20 +02:00
AlexanderAmelkin
requested changes 2024年11月21日 16:12:50 +01:00
Dismissed
lib/ipmi_chassis.c
Outdated
@ -1267,6 +1267,11 @@ ipmi_chassis_set_bootdev(struct ipmi_intf * intf, char * arg, uint8_t *iflags)
{
flags[1] |= 0x14;
}
else if (!strcmp(arg, "remotecdrom") ||
AlexanderAmelkin
commented 2024年11月21日 16:12:33 +01:00
Don't you think that a shorter name like remotecd would be more convenient?
Don't you think that a shorter name like `remotecd` would be more convenient?
yanggang
commented 2024年11月22日 03:04:01 +01:00
remotecd is ok and will be more convenient, i'll update it.
`remotecd` is ok and will be more convenient, i'll update it.
yanggang marked this conversation as resolved
lib/ipmi_chassis.c
Outdated
@ -1268,2 +1268,4 @@
flags[1] |= 0x14;
}
else if (!strcmp(arg, "remotecdrom") ||
!strcmp(arg, "force_remotecdrom"))
AlexanderAmelkin
commented 2024年11月21日 16:11:23 +01:00
Please use tabs for indentation, spaces for alignment everywhere.
That is:
else if (!strcmp(arg, "remotecdrom") ||
!strcmp(arg, "force_remotecdrom"))
Please use `tabs for indentation, spaces for alignment` everywhere.
That is:
```
else if (!strcmp(arg, "remotecdrom") ||
!strcmp(arg, "force_remotecdrom"))
```
yanggang
commented 2024年11月22日 03:08:48 +01:00
Got it. I'll update the code.
Thanks for the comments.
btw: i found there have some another code use tabs for alignment, i think we can update it later.
Got it. I'll update the code.
Thanks for the comments.
btw: i found there have some another code use `tabs for alignment`, i think we can update it later.
AlexanderAmelkin
commented 2024年12月02日 17:43:40 +01:00
some another code use
tabs for alignment
yes, there is a lot of legacy code that is formatted badly.
I usually ask to update it when someone touches it.
> some another code use `tabs for alignment`
yes, there is a lot of legacy code that is formatted badly.
I usually ask to update it when someone touches it.
yanggang marked this conversation as resolved
yanggang
force-pushed feature/bootdev-remotecdrom-support from 2024年11月22日 03:18:39 +01:00
Compare
d30c9be083
to abaddb87ad
yanggang
commented 2024年11月22日 03:22:22 +01:00
code updated
remotecdrom-->remotecd- use
spaces for alignment
code updated
1. `remotecdrom` --> `remotecd`
2. use `spaces for alignment`
yanggang
requested review from AlexanderAmelkin 2024年11月22日 03:22:32 +01:00
AlexanderAmelkin
approved these changes 2024年12月02日 17:39:26 +01:00
AlexanderAmelkin
merged commit abaddb87ad into master 2024年12月02日 17:39:35 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
IPMITool/ipmitool!49
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "yanggang/ipmitool:feature/bootdev-remotecdrom-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?