Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1715619

Re: [PATCH] Bluetooth: make device_type const

From Marcel Holtmann <marcel@holtmann.org>
Newsgroups linux.kernel
Subject Re: [PATCH] Bluetooth: make device_type const
Date 2017-08-19 12:00 +0200
Message-ID <ug8HT-89E-1@gated-at.bofh.it> (permalink)
References <ug8eR-7Yu-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <bhumirks@gmail.com>
> ---
> net/bluetooth/hci_sysfs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Bluetooth: make device_type const Bhumika Goyal <bhumirks@gmail.com> - 2017-08-19 11:30 +0200
  Re: [PATCH] Bluetooth: make device_type const Marcel Holtmann <marcel@holtmann.org> - 2017-08-19 12:00 +0200

csiph-web