Commit dbbb2494 authored by Ruslan Pisarev's avatar Ruslan Pisarev Committed by Greg Kroah-Hartman

Staging: hv: Fix macros, tab errors and warning in drivers/staging/hv/hv_mouse.c

This is a patch to the hv_mouse.c file that fixed up macros, tab
errors and warning found by the checkpatch.pl tools.
Signed-off-by: default avatarRuslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5be528c2
...@@ -54,7 +54,7 @@ struct hv_input_dev_info { ...@@ -54,7 +54,7 @@ struct hv_input_dev_info {
(SYNTHHID_INPUT_VERSION_MAJOR << 16)) (SYNTHHID_INPUT_VERSION_MAJOR << 16))
#pragma pack(push,1) #pragma pack(push, 1)
/* /*
* Message types in the synthetic input protocol * Message types in the synthetic input protocol
*/ */
...@@ -120,8 +120,8 @@ struct synthhid_input_report { ...@@ -120,8 +120,8 @@ struct synthhid_input_report {
#pragma pack(pop) #pragma pack(pop)
#define INPUTVSC_SEND_RING_BUFFER_SIZE 10*PAGE_SIZE #define INPUTVSC_SEND_RING_BUFFER_SIZE (10*PAGE_SIZE)
#define INPUTVSC_RECV_RING_BUFFER_SIZE 10*PAGE_SIZE #define INPUTVSC_RECV_RING_BUFFER_SIZE (10*PAGE_SIZE)
#define NBITS(x) (((x)/BITS_PER_LONG)+1) #define NBITS(x) (((x)/BITS_PER_LONG)+1)
...@@ -960,7 +960,7 @@ static void __exit mousevsc_exit(void) ...@@ -960,7 +960,7 @@ static void __exit mousevsc_exit(void)
* installed and/or configured. We don't do anything else with the table, but * installed and/or configured. We don't do anything else with the table, but
* it needs to be present. * it needs to be present.
*/ */
const static struct pci_device_id microsoft_hv_pci_table[] = { static const struct pci_device_id microsoft_hv_pci_table[] = {
{ PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */ { PCI_DEVICE(0x1414, 0x5353) }, /* VGA compatible controller */
{ 0 } { 0 }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment