Displaying 3 results from an estimated 3 matches for "7eece2ce".
2019 Jan 22
1
[PATCH] fix build failure when CONFIG_KLIBC_ZLIB is not set
...lateEnd'
make[2]: *** [usr/kinit/shared/kinit] Error 1
Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
---
usr/kinit/initrd.c | 6 ++++++
usr/kinit/ramdisk_load.c | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c
index 7eece2ce..a8385a98 100644
--- a/usr/kinit/initrd.c
+++ b/usr/kinit/initrd.c
@@ -54,11 +54,14 @@ static int rd_copy_image(const char *path)
{
int ffd = open(path, O_RDONLY);
int rv = -1;
+#ifdef CONFIG_KLIBC_ZLIB
unsigned char gzip_magic[2];
+#endif
if (ffd < 0)
goto barf;
+#ifdef CONFIG_K...
2020 Jul 25
0
[klibc:master] Clean up clang warnings
...Signed-off-by: Bill Wendling <morbo at google.com>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/kinit/initrd.c | 2 +-
usr/kinit/ramdisk_load.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c
index 7eece2ce..5833f2f2 100644
--- a/usr/kinit/initrd.c
+++ b/usr/kinit/initrd.c
@@ -153,7 +153,7 @@ static int run_linuxrc(int argc, char *argv[], dev_t root_dev)
int olddev = open(ramdisk_name, O_RDWR);
umount2("/old", MNT_DETACH);
if (olddev < 0 ||
- ioctl(olddev, BLKFLSBUF, (lo...
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