mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-26 01:41:40 +00:00
Some of git's whitespace fixup option corrupts the patches by (at least) stripping trailing spaces (which are present for empty lines in context) and changing leading <space><tab> into just <tab>. `patch(1)` used by the build here seems to tolerate this, but `git am` and/or `git apply` do not. Fix this up by running git am and at each failure point (i.e. every patch) applying the relevant patch using `patch(1)` (which works because `git am` was unable to even partially apply the patches) before regenerating the whole lot with `git format-patch`. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
31 lines
979 B
Diff
31 lines
979 B
Diff
From 39ad80464832bca79a5ae1a0a2de87641ca0be13 Mon Sep 17 00:00:00 2001
|
|
From: Rolf Neugebauer <rolf.neugebauer@gmail.com>
|
|
Date: Mon, 23 May 2016 18:55:45 +0100
|
|
Subject: [PATCH 4/5] vmbus: Don't spam the logs with unknown GUIDs
|
|
|
|
With Hyper-V sockets device types are introduced on the fly. The pr_info()
|
|
then prints a message on every connection, which is way too verbose. Since
|
|
there doesn't seem to be an easy way to check for registered services,
|
|
disable the pr_info() completely.
|
|
|
|
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
|
|
---
|
|
drivers/hv/channel_mgmt.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
|
|
index 8f4e6070..ef4a512 100644
|
|
--- a/drivers/hv/channel_mgmt.c
|
|
+++ b/drivers/hv/channel_mgmt.c
|
|
@@ -147,7 +147,6 @@ static u16 hv_get_dev_type(const uuid_le *guid)
|
|
if (!uuid_le_cmp(*guid, vmbus_devs[i].guid))
|
|
return i;
|
|
}
|
|
- pr_info("Unknown GUID: %pUl\n", guid);
|
|
return i;
|
|
}
|
|
|
|
--
|
|
2.10.2
|
|
|