[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502302895-30181-1-git-send-email-arvind.yadav.cs@gmail.com>
Date: Wed, 9 Aug 2017 23:51:33 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: jikos@...nel.org, benjamin.tissoires@...hat.com
Cc: linux-usb@...r.kernel.org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] constify hid usb_device_id and fix space before '[' error
usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.
Fix checkpatch.pl error:
ERROR: space prohibited before open square bracket '['.
Arvind Yadav (2):
[PATCH 1/2] HID: usbkbd: constify usb_device_id and fix space before '[' error.
[PATCH 2/2] HID: usbmouse: constify usb_device_id and fix space before '[' error
drivers/hid/usbhid/usbkbd.c | 2 +-
drivers/hid/usbhid/usbmouse.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.7.4
Powered by blists - more mailing lists