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=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 6C596C43381 for ; Thu, 21 Mar 2019 22:19:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F1A7218D3 for ; Thu, 21 Mar 2019 22:19:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727207AbfCUWT4 (ORCPT ); Thu, 21 Mar 2019 18:19:56 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:36408 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726982AbfCUWTz (ORCPT ); Thu, 21 Mar 2019 18:19:55 -0400 Received: by mail-pf1-f194.google.com with SMTP id p10so68829pff.3 for ; Thu, 21 Mar 2019 15:19:55 -0700 (PDT) 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=UxDJZbIKEuFoihdzXEEtJwaf1vYmJsV0EgOC5C9FJGI=; b=ZivdnafoyqurTcpuss36xx85PbD3tVawCcIcKo2q/Xrk36iP04SjmwVCpI39PUYR7t hqN+WSzH11rc3WrxluYTVUqVdjKyAR7e3uVefZ/N03oF/nkeOqRqSLQcufSIx5qt69Qd kb/XFFweH41XsbhjU639Uv8WzZcc1H69KsywT2OxWIaFzDO0Jbo2qvSfE6s0T9OWZXje iFBiGJ/LOL2QTzPzX94aaSOxmE3fQejoKaDum1ZtRbXCPCAvbWLDzlqM6GaYK2qbHp2i pgO8ygN5kL+sgIhqdX2F9GjhNvAnne0qyG/O/0Jjb7qisKWDwqveMOSH/rAI/Gpd1DZC WmBg== X-Gm-Message-State: APjAAAWWBqungElhxYLGKvyYxjw45wor2BpGWjMerY2y+IP92O/CBUwN IXFo92XYVy7ed3q2NYQKXuo= X-Google-Smtp-Source: APXvYqxcNn2qvPzpPgeG3fPbxOWl4jRUG3OLQXkq+pv+42acgEjLXzHByUholSujDA3sgJ4mNKPiqg== X-Received: by 2002:a65:4547:: with SMTP id x7mr5457960pgr.350.1553206794874; Thu, 21 Mar 2019 15:19:54 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id l7sm16862892pfj.162.2019.03.21.15.19.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 15:19:54 -0700 (PDT) From: Bart Van Assche To: David Miller Cc: netdev@vger.kernel.org, Bart Van Assche Subject: [PATCH 0/7] net/core patches for kernel v5.2 Date: Thu, 21 Mar 2019 15:19:39 -0700 Message-Id: <20190321221946.163803-1-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Dave, While inspecting the code of inet6_pton() I found an open-coded strlcpy() implementation in that function. The last patch in this series simplifies inet6_pton() and the first six patches address the compiler warnings reported when building the code in net/core with W=1. Please consider this patch series for kernel v5.2. Thanks, Bart. Bart Van Assche (7): net/core: Document reuseport_add_sock() bind_inany argument net/core: Document all dev_ioctl() arguments net/core: Document __skb_flow_dissect() flags argument net/core: Fix rtnetlink kernel-doc headers net/core: Allow the compiler to verify declaration and definition consistency net/core: Declare a local function 'static' net/utils: Use strlcpy() instead of open-coding it net/core/datagram.c | 3 +++ net/core/datagram.h | 13 +++++++++++++ net/core/dev_ioctl.c | 3 ++- net/core/flow_dissector.c | 2 ++ net/core/rtnetlink.c | 9 ++++++--- net/core/skbuff.c | 5 ++--- net/core/sock_reuseport.c | 2 ++ net/core/utils.c | 6 +----- 8 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 net/core/datagram.h -- 2.21.0.155.ge902e9bcae20