tree-wide: fix typo and comment style update

This commit is contained in:
Yu Watanabe
2023-02-15 10:08:16 +09:00
parent 0da4cc97b4
commit 0b75493da0
25 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ static const BaseFilesystem table[] = {
* been mounted into) it is thus necessary to create a symlink pointing to the right subdirectory of
* /usr/ first — otherwise we couldn't invoke any dynamic binary. Let's detect this case here, and
* create the symlink as needed should it be missing. We prefer doing this consistently with Debian's
* multiarch logic, but support Fedora-style multilib too.*/
* multiarch logic, but support Fedora-style multilib too. */
#if defined(__aarch64__)
/* aarch64 ELF ABI actually says dynamic loader is in /lib/, but Fedora puts it in /lib64/ anyway and
* just symlinks /lib/ld-linux-aarch64.so.1 to ../lib64/ld-linux-aarch64.so.1. For this to work
+1 -1
View File
@@ -3332,7 +3332,7 @@ int mount_image_privately_interactively(
assert(ret_directory);
assert(ret_loop_device);
/* We intend to mount this right-away, hence add the partitions if needed and pin them*/
/* We intend to mount this right-away, hence add the partitions if needed and pin them. */
flags |= DISSECT_IMAGE_ADD_PARTITION_DEVICES |
DISSECT_IMAGE_PIN_PARTITION_DEVICES;
+1 -1
View File
@@ -117,7 +117,7 @@ struct ethtool_link_usettings {
};
typedef struct u32_opt {
uint32_t value; /* a value of 0 indicates the hardware advertised maximum should be used.*/
uint32_t value; /* a value of 0 indicates the hardware advertised maximum should be used. */
bool set;
} u32_opt;
+1 -1
View File
@@ -4318,7 +4318,7 @@ int json_log_internal(
static void *dispatch_userdata(const JsonDispatch *p, void *userdata) {
/* When the the userdata pointer is passed in as NULL, then we'll just use the offset as a literal
/* When the userdata pointer is passed in as NULL, then we'll just use the offset as a literal
* address, and convert it to a pointer. Note that might as well just add the offset to the NULL
* pointer, but UndefinedBehaviourSanitizer doesn't like pointer arithmetics based on NULL pointers,
* hence we code this explicitly here. */