From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1615C388F7 for ; Sun, 25 Oct 2020 21:23:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 83E9920658 for ; Sun, 25 Oct 2020 21:23:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="N1ow8ZS9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1418860AbgJYVXN (ORCPT ); Sun, 25 Oct 2020 17:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1418845AbgJYVXN (ORCPT ); Sun, 25 Oct 2020 17:23:13 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32A97C0613CE for ; Sun, 25 Oct 2020 14:23:13 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id 1so3745656ple.2 for ; Sun, 25 Oct 2020 14:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fOM8/Sh8H0UFshDCLI54VqF83MZ6U64KCLxXmfo7yFM=; b=N1ow8ZS95GmwGgvacVqdtXUlKIqJEj1NprUG6EH8fTa7NQwLRzTCgnQNdVRuXHa/fN b8N3oCWD4bXzZ0nqm8mqBBwNwZIWaIKjEv9Y4mXfiJqYrxqNjbYr5qUXp2PR0TLC0ISW bWjjImjb7Fiv4QrE1065Rv6FgVg+kSACpavePzz5lhYNvkrTftZYjoPaliia3eUQB0gJ Ieup3PxwkGotWd2PoGafSWkydomHIjCHW2Te5S+IwLMVQOJk0fMf1y2JFXFShR27EDbp yj+mt/JxjNZogHgbaFBaxbiC2LFIAKdhTmF+Dxatsuu3QOrDgh26fbKD/iBDojZMqo1M DZ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fOM8/Sh8H0UFshDCLI54VqF83MZ6U64KCLxXmfo7yFM=; b=rCh5fR4dbJHyTkXhKaGq3L2CfCB016CVnKR6dCWhkLH8yji0SED7wxNuW+kDWckRiQ HUEO9PY87unD+pOEBuQj28eoBidZtpg9GInNmnqUK8H6d6IPZdF5TSVkA7iLQ3Yf1JQ5 u8FAd2VCIUcUjKTtZmh1DL/wJUk2hNV2zTbGUGIZsPaV7Z3HE5wGiZJIHthYuxcKlITX ceY3Z7J1MxyYkeS3Ggj9zH8c2UDCh9fALPNP/mxapwzHV73pmvY5Eg8yeVAtW8qSC/1J ldaUnIcP3mo//XrepwZJwXYQHIk1Oa23a85AWRi4EebtJK4DHRyZZQC8XKbhQnp/FVJe sfuQ== X-Gm-Message-State: AOAM532O5lBA7YpxdHzD0oXMlTOngeet+NIXAoQ2lgkg4rvKZy5UmuPC X2fSyR2OSdGy1WHq2gWWsUD4Fg== X-Google-Smtp-Source: ABdhPJxvwiEttnt7EtFWp+e9gn/IOSMGXvHavpAOMH4OtdiOeitekKREmXic9hCY+j840tRsYnmxFA== X-Received: by 2002:a17:90b:3851:: with SMTP id nl17mr2899666pjb.103.1603660992737; Sun, 25 Oct 2020 14:23:12 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m2sm4656602pfh.44.2020.10.25.14.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Oct 2020 14:23:12 -0700 (PDT) Date: Sun, 25 Oct 2020 14:23:04 -0700 From: Stephen Hemminger To: Johannes Berg Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, David Ahern Subject: Re: [PATCH 2/3] libnetlink: add nl_print_policy() helper Message-ID: <20201025142304.3f7deea6@hermes.local> In-Reply-To: <20200824175108.53101-2-johannes@sipsolutions.net> References: <20200824175108.53101-1-johannes@sipsolutions.net> <20200824175108.53101-2-johannes@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 24 Aug 2020 19:51:07 +0200 Johannes Berg wrote: > This prints out the data from the given nested attribute > to the given FILE pointer, interpreting the firmware that > the kernel has for showing netlink policies. > > Signed-off-by: Johannes Berg This patch causes warnings from iproute2 build on Debian stable. Please fix. CC libnetlink.o libnetlink.c:33: warning: "__aligned" redefined #define __aligned(x) __attribute__((aligned(x))) In file included from /usr/include/bsd/string.h:39, from ../include/utils.h:13, from libnetlink.c:31: /usr/include/bsd/sys/cdefs.h:128: note: this is the location of the previous definition # define __aligned(x) __attribute__((__aligned__(x)))