mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Thumshirn <morbidrsa@googlemail.com>
To: gregkh@linuxfoundation.org, grabner@icg.tugraz.at,
	stefanha@gmail.com, dan.carpenter@oracle.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Johannes Thumshirn <morbidrsa@googlemail.com>
Subject: [PATCH 4/9] staging: line6: adjusted interface of line6_send_program()
Date: Wed, 27 Jun 2012 21:25:58 +0200	[thread overview]
Message-ID: <1340825163-32568-5-git-send-email-morbidrsa@googlemail.com> (raw)
In-Reply-To: <1340825163-32568-1-git-send-email-morbidrsa@googlemail.com>

Adjusted interface of line6_send_program() to clarify internal working

Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
---
 drivers/staging/line6/driver.c |    2 +-
 drivers/staging/line6/driver.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c
index d861230..b8358ca 100644
--- a/drivers/staging/line6/driver.c
+++ b/drivers/staging/line6/driver.c
@@ -490,7 +490,7 @@ static void line6_data_received(struct urb *urb)
 /*
 	Send channel number (i.e., switch to a different sound).
 */
-int line6_send_program(struct usb_line6 *line6, int value)
+int line6_send_program(struct usb_line6 *line6, u8 value)
 {
 	int retval;
 	unsigned char *buffer;
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h
index 140ccfe..a3029eb 100644
--- a/drivers/staging/line6/driver.h
+++ b/drivers/staging/line6/driver.h
@@ -209,7 +209,7 @@ extern int line6_read_data(struct usb_line6 *line6, int address, void *data,
 			   size_t datalen);
 extern int line6_read_serial_number(struct usb_line6 *line6,
 				    int *serial_number);
-extern int line6_send_program(struct usb_line6 *line6, int value);
+extern int line6_send_program(struct usb_line6 *line6, u8 value);
 extern int line6_send_raw_message(struct usb_line6 *line6, const char *buffer,
 				  int size);
 extern int line6_send_raw_message_async(struct usb_line6 *line6,
-- 
1.7.7.6


  parent reply	other threads:[~2012-06-27 19:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 19:25 [PATCH 0/9] Replaced the calls to strict_strtoul() in the line6 driver Johannes Thumshirn
2012-06-27 19:25 ` [PATCH 1/9] staging: line6: changed interface of line6_transmit_parameter() Johannes Thumshirn
2012-06-27 19:25 ` [PATCH 2/9] staging: line6: Changed some strict_strtouls to kstrtou8 Johannes Thumshirn
2012-06-27 19:25 ` [PATCH 3/9] staging: line6: changed interface of line6_pod_transmit_parameter() Johannes Thumshirn
2012-06-27 19:25 ` Johannes Thumshirn [this message]
2012-06-27 19:25 ` [PATCH 5/9] staging: line6: changed interface of pod_send_channel() Johannes Thumshirn
2012-06-27 19:26 ` [PATCH 6/9] staging: line6: control.c eliminate strict_strtoul() in pod_set_param_int() Johannes Thumshirn
2012-06-27 19:26 ` [PATCH 7/9] staging: line6: Exchanged strict_strtoul with kstrtou8() in pod.c:pod_resolve() Johannes Thumshirn
2012-06-27 19:26 ` [PATCH 8/9] staging: line6: Changed strict_strtoul() to kstrtou8() in pod_set_channel() Johannes Thumshirn
2012-06-27 19:26 ` [PATCH 9/9] staging: line6: Changed strict_strtoul() to kstrtou8() in pod_set_midi_postprocess() Johannes Thumshirn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340825163-32568-5-git-send-email-morbidrsa@googlemail.com \
    --to=morbidrsa@googlemail.com \
    --cc=dan.carpenter@oracle.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=grabner@icg.tugraz.at \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®