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 1/9] staging: line6: changed interface of line6_transmit_parameter()
Date: Wed, 27 Jun 2012 21:25:55 +0200 [thread overview]
Message-ID: <1340825163-32568-2-git-send-email-morbidrsa@googlemail.com> (raw)
In-Reply-To: <1340825163-32568-1-git-send-email-morbidrsa@googlemail.com>
Interface of line6_transmit_parameter() adjusted to clarify internal workings
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 4513f78..d861230 100644
--- a/drivers/staging/line6/driver.c
+++ b/drivers/staging/line6/driver.c
@@ -526,7 +526,7 @@ int line6_send_program(struct usb_line6 *line6, int value)
/*
Transmit Line6 control parameter.
*/
-int line6_transmit_parameter(struct usb_line6 *line6, int param, int value)
+int line6_transmit_parameter(struct usb_line6 *line6, int param, u8 value)
{
int retval;
unsigned char *buffer;
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h
index 117bf99..140ccfe 100644
--- a/drivers/staging/line6/driver.h
+++ b/drivers/staging/line6/driver.h
@@ -224,7 +224,7 @@ extern void line6_start_timer(struct timer_list *timer, unsigned int msecs,
void (*function) (unsigned long),
unsigned long data);
extern int line6_transmit_parameter(struct usb_line6 *line6, int param,
- int value);
+ u8 value);
extern int line6_version_request_async(struct usb_line6 *line6);
extern int line6_write_data(struct usb_line6 *line6, int address, void *data,
size_t datalen);
--
1.7.7.6
next prev parent reply other threads:[~2012-06-27 19:29 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 ` Johannes Thumshirn [this message]
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 ` [PATCH 4/9] staging: line6: adjusted interface of line6_send_program() Johannes Thumshirn
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-2-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®