Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp237783imm; Wed, 29 Aug 2018 19:44:23 -0700 (PDT) X-Google-Smtp-Source: ANB0VdabzTdCIkcRjIb9dOZwwPj7wdTXT3ItisfbHmbgowVHCHrArKFQZzxumIzzhFnqa+khGkMJ X-Received: by 2002:a17:902:1683:: with SMTP id h3-v6mr8319160plh.201.1535597063570; Wed, 29 Aug 2018 19:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535597063; cv=none; d=google.com; s=arc-20160816; b=uBk8Mj1txmiiEQBg9sX+ltIIt3ybZsAdwPPsTuQ2rK+dAhTqlo0iLNk9NY9iW/0T/u WsYHWe31LQGqtjdhb6xyaddJ+mcvjHBK+GNmP0CXUVVxo4SMCLbD1mQ5aTOpSUiO21v7 dOWYrd6y8fLgt1sg/sBGJk/QGvfMdbgzn9PE4e1qZA9yTPLiu1JplJLAO1wowX3v92gK VJ4NQogT96uYfz6fQkybgFBvR5PgmXEREnwk0do1joAsvkUxj6jILENdHSWKJ+50JnSM gBRuwKPmWj2ticElB4NFvTGJQVOzIomjYPnxOsjj6x4yZteupdPfobiTea81TaePk6+6 fsSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=ZwHJS7nOSd8N9jGQvfxyxq5ZIEjq4hhIJ6AVIdeO3ns=; b=IwWvAk4LJukEvdbZB8C5K9oDD+MByWL1itBnIUIOBYhQzYFFQHpIBVtwLirs/oLkPI 6ctdiwyp/3FnKaiSwzHXzotHgbHgqgn3N2wHq4aoRqSG6roSUycY4teiEuXzjUXUZqcA Pugi/rBdVgFMI74Bzfs/TOzkDtADzhhbDkajXoVYgKJsT8+vCcoIHAiiuDzHlPdpysF0 /ep784B5JVEMJ5SsLN3p/ZPAeguoNskM8sXvQG6ogXdJ0J384u+tNk2E2XtME3SZv/G+ YygYx9EcxragwOUG82CqllAnX3NTjFd0FZB4c6QFLlQEdRzsEqa1z4pND42GvyB0pRpL ziMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1-v6si6066341plm.437.2018.08.29.19.44.08; Wed, 29 Aug 2018 19:44:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727352AbeH3Gm4 (ORCPT + 99 others); Thu, 30 Aug 2018 02:42:56 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:39944 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbeH3Gm4 (ORCPT ); Thu, 30 Aug 2018 02:42:56 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id F3C22108F864F; Wed, 29 Aug 2018 19:43:03 -0700 (PDT) Date: Wed, 29 Aug 2018 19:43:03 -0700 (PDT) Message-Id: <20180829.194303.1547084630561127545.davem@davemloft.net> To: mkubecek@suse.cz Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] genetlink: constify genl_err_attr() argument From: David Miller In-Reply-To: <20180828165158.B13DCA0C37@unicorn.suse.cz> References: <20180828165158.B13DCA0C37@unicorn.suse.cz> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 29 Aug 2018 19:43:04 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Kubecek Date: Tue, 28 Aug 2018 18:51:58 +0200 (CEST) > genl_err_attr() sets netlink_ext_ack::bad_attr which is a pointer to const > struct nlattr so make the attr argument also const. > > Signed-off-by: Michal Kubecek Applied.