Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751759AbdHSJ4V (ORCPT ); Sat, 19 Aug 2017 05:56:21 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:41840 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbdHSJ4T (ORCPT ); Sat, 19 Aug 2017 05:56:19 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [PATCH] Bluetooth: make device_type const From: Marcel Holtmann In-Reply-To: <1503134687-12193-1-git-send-email-bhumirks@gmail.com> Date: Sat, 19 Aug 2017 11:56:17 +0200 Cc: julia.lawall@lip6.fr, "Gustavo F. Padovan" , Johan Hedberg , "David S. Miller" , "open list:BLUETOOTH DRIVERS" , Netdev list , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <197CA699-327D-4BD7-A903-E46A2A7F9629@holtmann.org> References: <1503134687-12193-1-git-send-email-bhumirks@gmail.com> To: Bhumika Goyal X-Mailer: Apple Mail (2.3273) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 353 Lines: 16 Hi Bhumika, > Make these const as they are only stored in the type field of a device > structure, which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal > --- > net/bluetooth/hci_sysfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel