Displaying 2 results from an estimated 2 matches for "e3e15d81".
2020 Jul 25
0
[klibc:master] Clean up clang warnings
..._DETACH);
if (olddev < 0 ||
- ioctl(olddev, BLKFLSBUF, (long)0) ||
+ ioctl(olddev, BLKFLSBUF, 0) ||
close(olddev)) {
fprintf(stderr,
"%s: Cannot flush initrd contents\n",
diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_load.c
index f43339c8..e3e15d81 100644
--- a/usr/kinit/ramdisk_load.c
+++ b/usr/kinit/ramdisk_load.c
@@ -34,7 +34,7 @@ static int change_disk(const char *devpath, int rfd, int disk)
ioctl(rfd, CDROMEJECT, 0);
} else {
/* Non-ejectable floppy */
- ioctl(rfd, FDRESET, FD_RESET_IF_NEEDED);
+ ioctl(rfd, FDRESET, (void...
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
- Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
- Remove "dash" warning fixes which have been upstreamed.
- Conditionalize the inclusion of compiler flags by using the proper
compiler name or "cc-option".
- Added "-Werror" to "cc-option" to catch flags that cause warnings.
- Retain