From patchwork Sat Jun 6 18:38:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1304559 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VWh3qBQQ; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49fSvk4ND4z9sQx for ; Sun, 7 Jun 2020 04:38:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4B47C877F8; Sat, 6 Jun 2020 18:38:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r+xW+yJkrvDQ; Sat, 6 Jun 2020 18:38:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2F3EA86D96; Sat, 6 Jun 2020 18:38:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 086FA1BF410 for ; Sat, 6 Jun 2020 18:38:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F352585F74 for ; Sat, 6 Jun 2020 18:38:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4880bEXv1a41 for ; Sat, 6 Jun 2020 18:38:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 1FB7982072 for ; Sat, 6 Jun 2020 18:38:35 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id q25so12332724wmj.0 for ; Sat, 06 Jun 2020 11:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i4BAggWvzAkLppp+0nKe5wFz7mZ/mnSn5MeI4T+Dbws=; b=VWh3qBQQkr9qP8PaxiMwerWgUokXstKacP7lNL9Stf+woiiUIyaCXzxSHmGOw/GM9W HSnWJkln3JaV2JzDF+mmL59qsY4e0bJ/0NdNbL6f7vlVwQ5q4EBB0Q1ZNsHhPAaFefQY ekEK2n+2QpWj8I2vGVtNUCxG/T10zHyNDNvuMwiPNWsHCZ30Qpuc8QplDyNvmPu0LxpX en7z9p1t4SFvxXEahKL977k0zxNDWPNm8e/9td7nUkYmGfTgmxslEhXi2PusJg1jQ+fU ojsFv00mosF2V99HwoEIXadlWsipOU6XOwlKI57D/0zhuV1GCYbpM87l4XAU/9G41axs ljtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=i4BAggWvzAkLppp+0nKe5wFz7mZ/mnSn5MeI4T+Dbws=; b=Iusx/RT+7HEaHtmCzWv2QEwsL41Bm0e4Jy35jhXp1U1y9g7CK4UXGwe4a8lDP65sHK YKFQq98OJVLRUkkLhuKhWDmX39hV8RCi30d8KxwG6l9Zt/5LHDlq3zQX6Su7TQBhHpM3 xlx8qzgEPaM/i2QsP4AoA1Gd2s9qlndtq7WNcsc6tTkIUnQl1JgzzmTwIxtti6FE7HnU 8DM0FleW0XqOXt0AXIR4qyL3YArnyFSN/DUpiKc4ovQMlH+i0NcIeeQljIi4iICq0HSo q/C/cI57trN+WQFxrqHOdgl9qkhOMINEtsIDAvuJEll8/5qjloBCNeR/NWnn1NHFtvNc zo4A== X-Gm-Message-State: AOAM531Ehmxy8Faq9VAk0Co+qhCI8Sf7io4ZB5w8yF8DGJVNuaiXBsCE I+Zv9O8pBG6b+s722pjq9lPkTSgt X-Google-Smtp-Source: ABdhPJw3tWG33OsSnSS0O/T6VGUacukB/wspmUTHNKwn/X9Luj6sy+d2N4aDfeX2cVlDOm9dH4xAKw== X-Received: by 2002:a1c:1983:: with SMTP id 125mr8246480wmz.43.1591468713150; Sat, 06 Jun 2020 11:38:33 -0700 (PDT) Received: from t450s.fritz.box (ip5b426f84.dynamic.kabel-deutschland.de. [91.66.111.132]) by smtp.gmail.com with ESMTPSA id e5sm17863350wrw.19.2020.06.06.11.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2020 11:38:32 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Sat, 6 Jun 2020 20:38:18 +0200 Message-Id: <20200606183817.5113-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v1 1/2] package/ethtool: add patch to fix build failures X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Heiko Thiery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add a patch from the kernel netdev mailing list [1] that solves autobuilder failures. Fixes: http://autobuild.buildroot.net/results/394e846bb48a0cc8564ebc3e8d1179ccd1f1560d/ [1] https://patchwork.ozlabs.org/project/netdev/patch/bb60cbfe99071fca4b0ea9e62d67a2341d8dd652.1590707335.git.mkubecek@suse.cz/ Signed-off-by: Heiko Thiery --- .../0001-netlink-fix-build-warnings.patch | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/ethtool/0001-netlink-fix-build-warnings.patch diff --git a/package/ethtool/0001-netlink-fix-build-warnings.patch b/package/ethtool/0001-netlink-fix-build-warnings.patch new file mode 100644 index 0000000000..4e9b520d58 --- /dev/null +++ b/package/ethtool/0001-netlink-fix-build-warnings.patch @@ -0,0 +1,52 @@ +From 93b2d0ef0c2be825e56d1f810fbbfba4800fa831 Mon Sep 17 00:00:00 2001 +From: Michal Kubecek +Date: Fri, 29 May 2020 01:21:12 +0200 +Subject: [PATCH] netlink: fix build warnings + +Depending on compiler version and options, some of these warnings may +result in build failure. + +- gcc 4.8 wants __KERNEL_DIV_ROUND_UP defined before including ethtool.h +- avoid pointer arithmetic on void * + +Signed-off-by: Michal Kubecek + +[Patch was taken from the linux netdev mailinglist and will be applied in the +upcoming ethtool release 5.8] +Signed-off-by: Heiko Thiery +--- + netlink/desc-ethtool.c | 2 +- + netlink/parser.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/netlink/desc-ethtool.c b/netlink/desc-ethtool.c +index 76c6f13..423479d 100644 +--- a/netlink/desc-ethtool.c ++++ b/netlink/desc-ethtool.c +@@ -4,9 +4,9 @@ + * Descriptions of ethtool netlink messages and attributes for pretty print. + */ + ++#include "../internal.h" + #include + +-#include "../internal.h" + #include "prettymsg.h" + + static const struct pretty_nla_desc __header_desc[] = { +diff --git a/netlink/parser.c b/netlink/parser.c +index fff23f2..d790abe 100644 +--- a/netlink/parser.c ++++ b/netlink/parser.c +@@ -1016,7 +1016,7 @@ int nl_parser(struct nl_context *nlctx, const struct param_parser *params, + buff = tmp_buff_find(buffs, parser->group); + msgbuff = buff ? &buff->msgbuff : &nlsk->msgbuff; + +- param_dest = dest ? (dest + parser->dest_offset) : NULL; ++ param_dest = dest ? ((char *)dest + parser->dest_offset) : NULL; + ret = parser->handler(nlctx, parser->type, parser->handler_data, + msgbuff, param_dest); + if (ret < 0) +-- +2.20.1 + From patchwork Sat Jun 6 18:38:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1304560 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=StXlvA55; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49fSw12sz8z9sQx for ; Sun, 7 Jun 2020 04:38:57 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E278D87F0C; Sat, 6 Jun 2020 18:38:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id agcB+cPwKXzh; Sat, 6 Jun 2020 18:38:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3165B88072; Sat, 6 Jun 2020 18:38:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E4DB81BF410 for ; Sat, 6 Jun 2020 18:38:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DD31685F74 for ; Sat, 6 Jun 2020 18:38:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zrNe8QDi4_s4 for ; Sat, 6 Jun 2020 18:38:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2D60F82072 for ; Sat, 6 Jun 2020 18:38:52 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id f185so12313961wmf.3 for ; Sat, 06 Jun 2020 11:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9hni38OomiZCFQqYhIZgDwQWyfgEeKzXQ+3IMUmtOgM=; b=StXlvA55+KCRt4r/9K6MgC36skiWnq8yxd9c1+8o71dDrFHRaN5tLjJghiGw1Y8I5b FPKusUC87f6JesJPNZbXeg3x5GNArOVKFhkvuPInRggcy7KHf/5BWVT6K7jL1QuJiEDy ZA38xJzYEUxvQLdOUsSr5uV+7S4uL67BNVg/igwrpPoX0H7qlTRQdCkSvvfg728AC3i+ OpCfRFg1y9QjeVDDPUI3ajT2cwJ+1l1Y8A3nHzhy8m8EeNLPKgL48VB0Y4yHeQdyyKfy 8pGFfsRho2D1xglYixraIWjx0KKoh6bGrabA4ChOYoG+aTcOJTnVTYbYL/xq+DC1OIsc E7yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9hni38OomiZCFQqYhIZgDwQWyfgEeKzXQ+3IMUmtOgM=; b=IcAWB20RRQ+ep8QfUQJX6YUjHVnU6AIVYW1DOCgsZrwjCc41PTMlK8ASUuQNIhAlgz AEhS3FQPRspxkC4pT/beVkGf+C3R83U4xfSw5y8pi2rSZErDxn7NsKlrTw085hnEiVzM s7US4nmqueRdR77jr/4ASvSxtlfWMOaFfw9tUiR4qBd+meUZxhFAOwkGLqQ83l5scs5X T/BC6BwpRBvhOVUqdsYhHoTEa1R9O0TKimWmXThR6mZlGxE60ciT7DUrJgr1I5Pggep2 VSEP9wHmu791+WLHMR9ZHM5rIuyAUGrEMTKpDwuDrMrGYTKJDWvv570rvo81AIA49XJf oSuw== X-Gm-Message-State: AOAM531t3eFKQ3RgRQ6MRt+LBiQ0ffEED/IvZCCZYGO2cSQD8J076OeM 0zV2FcReEmfWTvTw6hwKyJTDyBUv X-Google-Smtp-Source: ABdhPJwQSMODkx3eafmukOhEOtHfPbS+ez3ubi/CYlivpK4GKqhRdIPNK5UcX4cmEjIwBBQ32Gi57A== X-Received: by 2002:a1c:c908:: with SMTP id f8mr8466596wmb.150.1591468730366; Sat, 06 Jun 2020 11:38:50 -0700 (PDT) Received: from t450s.fritz.box (ip5b426f84.dynamic.kabel-deutschland.de. [91.66.111.132]) by smtp.gmail.com with ESMTPSA id e5sm17863350wrw.19.2020.06.06.11.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2020 11:38:49 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Sat, 6 Jun 2020 20:38:20 +0200 Message-Id: <20200606183817.5113-2-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200606183817.5113-1-heiko.thiery@gmail.com> References: <20200606183817.5113-1-heiko.thiery@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v1 2/2] package/ethtool: bump to 5.7 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Heiko Thiery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Heiko Thiery --- package/ethtool/ethtool.hash | 2 +- package/ethtool/ethtool.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ethtool/ethtool.hash b/package/ethtool/ethtool.hash index 67fe263315..e3a958ab39 100644 --- a/package/ethtool/ethtool.hash +++ b/package/ethtool/ethtool.hash @@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 ca0f1b526dad5153f0aa0f1eb3c17c31770c75a74f70af622b1a83ae38043995 ethtool-5.6.tar.xz +sha256 724eb8bd3c3a389fe285735959a1902fbd9310624656ad3220c5f23df1053c39 ethtool-5.7.tar.xz # Locally calculated sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index c36268544f..40abe57918 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,7 @@ # ################################################################################ -ETHTOOL_VERSION = 5.6 +ETHTOOL_VERSION = 5.7 ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool ETHTOOL_LICENSE = GPL-2.0