summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stun.c b/stun.c
index 4ea4eac..e39e76a 100644
--- a/stun.c
+++ b/stun.c
@@ -33,7 +33,7 @@
struct stun_header {
uint16_t type;
uint16_t len;
- uint32_t magic_cookie;
+ uint32_t magic_cookie;
uint32_t transid[3];
};
@@ -74,6 +74,7 @@ static int stun_test(const char *server_ip, int server_port,
set_reuseaddr(sock);
+ memset(&saddr, 0, sizeof(saddr));
saddr.sin_family = PF_INET;
saddr.sin_port = htons(tun_port);
saddr.sin_addr.s_addr = INADDR_ANY;
net-next.git/commit/include/dt-bindings/power/tegra186-powergate.h?h=nds-private-remove&id=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff)
regulator: fixed: Revert support for ACPI interface
This reverts commit 13bed58ce874 (regulator: fixed: add support for ACPI interface). While there does appear to be a practical need to manage regulators on ACPI systems, using ad-hoc properties to describe regulators to the kernel presents a number of problems (especially should ACPI gain first class support for such things), and there are ongoing discussions as to how to manage this. Until there is a rough consensus, revert commit 13bed58ce8748d43, which hasn't been in a released kernel yet as discussed in [1] and the surrounding thread. [1] http://lkml.kernel.org/r/20170125184949.x2wkoo7kbaaajkjk@sirena.org.uk Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Lu Baolu <baolu.lu@linux.intel.com> Cc: Mark Brown <broonie@kernel.org> Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/power/tegra186-powergate.h')