Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751375AbdH1VWJ (ORCPT ); Mon, 28 Aug 2017 17:22:09 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:37144 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbdH1VWF (ORCPT ); Mon, 28 Aug 2017 17:22:05 -0400 X-Google-Smtp-Source: ADKCNb4CIDSRcPYeSA3YTG2B+Z9IkKqqeAb+wq1nE/WqpLDDSkDmKjSP8gTAhaGIGoLTsaJz90HDUg== Subject: Re: [PATCH 2/6] nbd: make device_attribute const To: Bhumika Goyal , julia.lawall@lip6.fr, rjw@rjwysocki.net, lenb@kernel.org, jbacik@fb.com, jikos@kernel.org, benjamin.tissoires@redhat.com, manish.chopra@cavium.com, rahul.verma@cavium.com, Dept-GELinuxNICDev@cavium.com, harish.patil@cavium.com, cascardo@holoscopio.com, don@syst.com.br, dvhart@infradead.org, andy@infradead.org, sre@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, nbd-general@lists.sourceforge.net, linux-input@vger.kernel.org, netdev@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org References: <1503315792-14837-1-git-send-email-bhumirks@gmail.com> <1503315792-14837-3-git-send-email-bhumirks@gmail.com> From: Jens Axboe Message-ID: Date: Mon, 28 Aug 2017 15:21:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1503315792-14837-3-git-send-email-bhumirks@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 277 Lines: 10 On 08/21/2017 05:43 AM, Bhumika Goyal wrote: > Make this const as is is only passed as an argument to the > function device_create_file and device_remove_file and the corresponding > arguments are of type const. > Done using Coccinelle Added for 4.14, thanks. -- Jens Axboe