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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 42AE5C35273 for ; Wed, 16 Dec 2020 19:33:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED79C22D6D for ; Wed, 16 Dec 2020 19:33:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388350AbgLPTdR (ORCPT ); Wed, 16 Dec 2020 14:33:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:57260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388789AbgLPTdP (ORCPT ); Wed, 16 Dec 2020 14:33:15 -0500 Content-Type: text/plain; charset="utf-8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608146407; bh=mH9mBnCUrWex7bj9ttc4dVZiI75M1KTG8oxdCcqZKu8=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=aWT+8mAF7D8TvrceHrouYBVwApKuyhyBDMuihF1iNCfRFf9xifuOEsXfOzLRa0xJX CgCGvWZ3M3uoz67jr/HW3XsrXI4i6w3E961pGSir8kqYu3ucDANzS7EhIEuwHf143U 3lqdfXTyQkvDPPF3mze9GHj8H5e39coK4NDta7FgeyCvFYBWTQwCD1K5atS4kyIQoL 0JTsWOs+Tt/ugDZmFZYX01l/wUiARMJOwT5c7eAAqFWEnPGp1y56PIq9Esl8VJGOcN 9cluh+3jeO6WooEGHBcouDWE5iHXM/TEKCNwJHarRm12YmxUqrdBkKa5xD4BLKWyqM 0xbqaoYhidWrA== MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net/connector: Add const qualifier to cb_id From: patchwork-bot+netdevbpf@kernel.org Message-Id: <160814640710.4483.7206399434775907995.git-patchwork-notify@kernel.org> Date: Wed, 16 Dec 2020 19:20:07 +0000 References: In-Reply-To: To: Geoff Levand Cc: davem@davemloft.net, kuba@kernel.org, zbr@ioremap.net, netdev@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 14 Dec 2020 21:15:47 -0800 you wrote: > The connector driver never modifies any cb_id passed to it, so add a const > qualifier to those arguments so callers can declare their struct cb_id as a > constant object. > > Fixes build warnings like these when passing a constant struct cb_id: > > warning: passing argument 1 of ‘cn_add_callback’ discards ‘const’ qualifier from pointer target > > [...] Here is the summary with links: - [v2] net/connector: Add const qualifier to cb_id https://git.kernel.org/netdev/net/c/c18e68696fdd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html