Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311139 > unrolled thread
| Started by | Tapan Prakash T <tapanprakasht@gmail.com> |
|---|---|
| First post | 2016-01-17 13:20 +0100 |
| Last post | 2016-01-18 12:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] Staging: usb: gadget: legacy: printer: Fixed some space style issues Tapan Prakash T <tapanprakasht@gmail.com> - 2016-01-17 13:20 +0100
Re: [PATCH] Staging: usb: gadget: legacy: printer: Fixed some space style issues Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-01-18 12:10 +0100
| From | Tapan Prakash T <tapanprakasht@gmail.com> |
|---|---|
| Date | 2016-01-17 13:20 +0100 |
| Subject | [PATCH] Staging: usb: gadget: legacy: printer: Fixed some space style issues |
| Message-ID | <qRUtk-2kB-1@gated-at.bofh.it> |
Fixed space before '[' coding style issues.
Signed-off-by: Tapan Prakash T <tapanprakasht@gmail.com>
---
drivers/usb/gadget/legacy/printer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c
index a22d30a..8ae7bd6 100644
--- a/drivers/usb/gadget/legacy/printer.c
+++ b/drivers/usb/gadget/legacy/printer.c
@@ -24,8 +24,8 @@ USB_GADGET_COMPOSITE_OPTIONS();
#define DRIVER_DESC "Printer Gadget"
#define DRIVER_VERSION "2015 FEB 17"
-static const char shortname [] = "printer";
-static const char driver_desc [] = DRIVER_DESC;
+static const char shortname[] = "printer";
+static const char driver_desc[] = DRIVER_DESC;
#include "u_printer.h"
@@ -86,13 +86,13 @@ static const struct usb_descriptor_header *otg_desc[2];
/* descriptors that are built on-demand */
-static char product_desc [40] = DRIVER_DESC;
-static char serial_num [40] = "1";
+static char product_desc[40] = DRIVER_DESC;
+static char serial_num[40] = "1";
static char pnp_string[PNP_STRING_LEN] =
"XXMFG:linux;MDL:g_printer;CLS:PRINTER;SN:1;";
/* static strings, in UTF-8 */
-static struct usb_string strings [] = {
+static struct usb_string strings[] = {
[USB_GADGET_MANUFACTURER_IDX].s = "",
[USB_GADGET_PRODUCT_IDX].s = product_desc,
[USB_GADGET_SERIAL_IDX].s = serial_num,
--
1.9.1
[toc] | [next] | [standalone]
| From | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
|---|---|
| Date | 2016-01-18 12:10 +0100 |
| Subject | Re: [PATCH] Staging: usb: gadget: legacy: printer: Fixed some space style issues |
| Message-ID | <qSfR8-8gP-13@gated-at.bofh.it> |
| In reply to | #1311139 |
Hello.
On 1/17/2016 3:17 PM, Tapan Prakash T wrote:
> Fixed space before '[' coding style issues.
>
> Signed-off-by: Tapan Prakash T <tapanprakasht@gmail.com>
> ---
> drivers/usb/gadget/legacy/printer.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Again, why "Staging:" in the subject?
[...]
MBR, Sergei
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web