Hi Luca,
> On Thu, 2016-10-13 at 13:21 +0300, Luca Coelho wrote:
> Could you please give this a spin? I have tested it with some handmade
> ACPI tables in QEMU and it seems to work fine now.
Tested-by: Chris Rorvick <ch...@rorvick.com>
I think the debug output looks as expe
Hi Luca,
> On Thu, 2016-10-13 at 13:21 +0300, Luca Coelho wrote:
> Could you please give this a spin? I have tested it with some handmade
> ACPI tables in QEMU and it seems to work fine now.
Tested-by: Chris Rorvick
I think the debug output looks as expected, see below for the first
On Wed, Oct 12, 2016 at 1:05 PM, Paul Bolle <pebo...@tiscali.nl> wrote:
> On Wed, 2016-10-12 at 12:50 -0500, Chris Rorvick wrote:
>> This may already be apparent, but Dell sells two versions of the 9350:
>> one with the Broadcom adapter and one with the AC 8260.
>
> Off
On Wed, Oct 12, 2016 at 1:05 PM, Paul Bolle wrote:
> On Wed, 2016-10-12 at 12:50 -0500, Chris Rorvick wrote:
>> This may already be apparent, but Dell sells two versions of the 9350:
>> one with the Broadcom adapter and one with the AC 8260.
>
> Off topic, for mos
Hi Luca,
FYI, It seems that Google does not like your email as I'm not
receiving any of your messages in gmail. Some responses below:
On Wed, 2016-10-12 at 15:24 +0300, Luca Coelho wrote:
> Hi Chris,
> On Tue, 2016-10-11 at 09:09 -0500, Chris Rorvick wrote:
> > On Tue, Oct 11, 201
Hi Luca,
FYI, It seems that Google does not like your email as I'm not
receiving any of your messages in gmail. Some responses below:
On Wed, 2016-10-12 at 15:24 +0300, Luca Coelho wrote:
> Hi Chris,
> On Tue, 2016-10-11 at 09:09 -0500, Chris Rorvick wrote:
> > On Tue, Oct 11, 201
On Tue, Oct 11, 2016 at 5:11 AM, Paul Bolle wrote:
> For what it's worth, on my machine I have twenty (!) SPLX entries, all
> reading:
> Name (SPLX, Package (0x04)
> {
> Zero,
> Package (0x03)
> {
> 0x8000,
>
On Tue, Oct 11, 2016 at 5:11 AM, Paul Bolle wrote:
> For what it's worth, on my machine I have twenty (!) SPLX entries, all
> reading:
> Name (SPLX, Package (0x04)
> {
> Zero,
> Package (0x03)
> {
> 0x8000,
> 0x8000,
>
On Tue, Oct 11, 2016 at 9:09 AM, Chris Rorvick <ch...@rorvick.com> wrote:
> I didn't receive your email so I'll try to respond via Paul's.
>>> If this is really bothering you, I guess I could apply this patch for
>>> now. But as I said, this is not solving the actual
On Tue, Oct 11, 2016 at 9:09 AM, Chris Rorvick wrote:
> I didn't receive your email so I'll try to respond via Paul's.
>>> If this is really bothering you, I guess I could apply this patch for
>>> now. But as I said, this is not solving the actual problem.
>>
>&g
Hi Luca,
I didn't receive your email so I'll try to respond via Paul's.
On Tue, Oct 11, 2016 at 5:11 AM, Paul Bolle wrote:
>> This is not coming from the NIC itself, but from the platform's ACPI
>> tables. Can you tell us which platform you are using?
Interesting. I'm
Hi Luca,
I didn't receive your email so I'll try to respond via Paul's.
On Tue, Oct 11, 2016 at 5:11 AM, Paul Bolle wrote:
>> This is not coming from the NIC itself, but from the platform's ACPI
>> tables. Can you tell us which platform you are using?
Interesting. I'm running a Dell XPS 13
eing fully functional after initialization, the
above condition is reported as an error. Knock the message down to a
warning and provide better context for understanding its consequence.
Signed-off-by: Chris Rorvick <ch...@rorvick.com>
---
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +-
1
eing fully functional after initialization, the
above condition is reported as an error. Knock the message down to a
warning and provide better context for understanding its consequence.
Signed-off-by: Chris Rorvick
---
drivers/net/wireless/intel/iwlwifi/pcie/drv.c | 2 +-
1 file changed, 1 inser
[ resending w/o HTML formatting ]
On Sun, Jun 28, 2015 at 11:44 AM, Alexey Dobriyan wrote:
> Previous code did 1 branch per character + 1 branch for every character
> in the last path component. Current code does 2 branches per characher
> regardless.
Shouldn't that be "+ 2 branches for every
[ resending w/o HTML formatting ]
On Sun, Jun 28, 2015 at 11:44 AM, Alexey Dobriyan adobri...@gmail.com wrote:
Previous code did 1 branch per character + 1 branch for every character
in the last path component. Current code does 2 branches per characher
regardless.
Shouldn't that be + 2
On Tue, Feb 24, 2015 at 11:33 PM, David Miller wrote:
> From: Chris Rorvick
> Date: Tue, 24 Feb 2015 23:27:12 -0600
>
>> Exceptions are added to the FIB in response to ICMP redirects and to
>> account for PMTU, but there is little visibility into what the current
>>
Exceptions are added to the FIB in response to ICMP redirects and to
account for PMTU, but there is little visibility into what the current
exceptions are. Add a proc entry for listing the current next-hop
exceptions
Signed-off-by: Chris Rorvick
---
I wrote this patch while looking into some
On Tue, Feb 24, 2015 at 11:33 PM, David Miller da...@davemloft.net wrote:
From: Chris Rorvick ch...@rorvick.com
Date: Tue, 24 Feb 2015 23:27:12 -0600
Exceptions are added to the FIB in response to ICMP redirects and to
account for PMTU, but there is little visibility into what the current
Exceptions are added to the FIB in response to ICMP redirects and to
account for PMTU, but there is little visibility into what the current
exceptions are. Add a proc entry for listing the current next-hop
exceptions
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
I wrote this patch while
Hi,
Commit b893e80e3147 ("ACPI / LPSS: Remove non-existing clock control
from Intel Lynxpoint I2C") is causing my touchpad to not load on my
Dell XPS13. I do not see any errors in the Xorg log, just 20 or so
lines missing where it would normally be loading the synaptics driver.
Reverting this
Hi,
Commit b893e80e3147 (ACPI / LPSS: Remove non-existing clock control
from Intel Lynxpoint I2C) is causing my touchpad to not load on my
Dell XPS13. I do not see any errors in the Xorg log, just 20 or so
lines missing where it would normally be loading the synaptics driver.
Reverting this
The address cannot be negative so make it unsigned. Also, an unsigned
int is always sufficient for the length, so no need to overdo it with a
size_t. Finally, add in range checks to see if the values passed in
actually fit where they are used.
Signed-off-by: Chris Rorvick
---
This was dropped
On Wed, Feb 11, 2015 at 3:33 AM, Takashi Iwai wrote:
> At Tue, 10 Feb 2015 23:03:12 -0600,
> Chris Rorvick wrote:
>>
>> Use explicit types to reflect the range of valid values.
>
> Well, this isn't necessarily to be changed at these places. If we
> want to be safer, t
The address cannot be negative so make it unsigned. Also, an unsigned
int is always sufficient for the length, so no need to overdo it with a
size_t. Finally, add in range checks to see if the values passed in
actually fit where they are used.
Signed-off-by: Chris Rorvick ch...@rorvick.com
On Wed, Feb 11, 2015 at 3:33 AM, Takashi Iwai ti...@suse.de wrote:
At Tue, 10 Feb 2015 23:03:12 -0600,
Chris Rorvick wrote:
Use explicit types to reflect the range of valid values.
Well, this isn't necessarily to be changed at these places. If we
want to be safer, there should be proper
Use explicit types to reflect the range of valid values.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 10 +-
sound/usb/line6/driver.h | 8
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index 2a33f3e..f8e2eb0 100644
--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
@@ -349,7 +349,7
with the possible exception of
changing the returned error from EINVAL to EIO. The EINVAL seems wrong
to me but maybe not?
Regards,
Chris
Chris Rorvick (6):
ALSA: line6: Improve line6_read/write_data() interfaces
ALSA: line6: Add delay before reading status
ALSA: line6: Return error if device
a two millisecond delay before each attempt. This is
approximately the behavior observed with version 4.2.7.1 of the Windows
driver.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6
The serial number (aka ESN) is a 32-bit value.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 2 +-
sound/usb/line6/driver.h | 2 +-
sound/usb/line6/pod.c | 4 ++--
sound/usb/line6/toneport.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sound/usb
Put an upper bound on how long we will wait for the device to respond to
a read/write request (i.e., 100 milliseconds) and return an error if
this is reached.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 29 +++--
1 file changed, 23 insertions(+), 6
The firmware version is a single byte so have the variable type agree.
Since the address to this member is passed to the read function, using
an int is not even portable.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/toneport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Put an upper bound on how long we will wait for the device to respond to
a read/write request (i.e., 100 milliseconds) and return an error if
this is reached.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 29 +++--
1 file changed, 23
The serial number (aka ESN) is a 32-bit value.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 2 +-
sound/usb/line6/driver.h | 2 +-
sound/usb/line6/pod.c | 4 ++--
sound/usb/line6/toneport.c | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff
The firmware version is a single byte so have the variable type agree.
Since the address to this member is passed to the read function, using
an int is not even portable.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/toneport.c | 2 +-
1 file changed, 1 insertion(+), 1
with the possible exception of
changing the returned error from EINVAL to EIO. The EINVAL seems wrong
to me but maybe not?
Regards,
Chris
Chris Rorvick (6):
ALSA: line6: Improve line6_read/write_data() interfaces
ALSA: line6: Add delay before reading status
ALSA: line6: Return error if device
a two millisecond delay before each attempt. This is
approximately the behavior observed with version 4.2.7.1 of the Windows
driver.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/sound/usb/line6/driver.c b/sound
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c
index 2a33f3e..f8e2eb0 100644
--- a/sound/usb/line6/driver.c
+++ b/sound/usb/line6/driver.c
Use explicit types to reflect the range of valid values.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 10 +-
sound/usb/line6/driver.h | 8
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6
Add a predicate for testing if the device supports source selection to
make the conditional logic around this a bit cleaner.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/toneport.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/sound
It is unlikely this function would ever be used in a context without a
pointer to a `struct usb_line6_toneport', so grab the device type from
it rather than having the caller do it.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/toneport.c | 19 ---
1 file changed, 12
Provide a unique name for each driver instead of using "line6usb" for
all of them. This will allow for different configurations based on the
driver type.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 3 ++-
sound/usb/line6/driver.h | 3 +--
sound/usb/line6/pod.
Changes in v2:
* return true/false instead of 1/0
* do not include spaces in driver name
* drop patch altering struct names (unnecessary)
Chris Rorvick (3):
ALSA: line6: Add toneport_has_source_select()
ALSA: line6: Pass toneport pointer to toneport_has_led()
ALSA: line6: Pass driver
On Fri, Feb 6, 2015 at 11:23 AM, Takashi Iwai wrote:
> At Fri, 06 Feb 2015 16:04:42 +0100, Takashi Iwai wrote:
>>
>> At Fri, 6 Feb 2015 08:51:11 -0600, Chris Rorvick wrote:
>> >
>> > Provide a descriptive name for each driver instead of calling all of
>&
Add a predicate for testing if the device supports source selection to
make the conditional logic around this a bit cleaner.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/toneport.c | 32
1 file changed, 16 insertions(+), 16 deletions
On Fri, Feb 6, 2015 at 11:23 AM, Takashi Iwai ti...@suse.de wrote:
At Fri, 06 Feb 2015 16:04:42 +0100, Takashi Iwai wrote:
At Fri, 6 Feb 2015 08:51:11 -0600, Chris Rorvick wrote:
Provide a descriptive name for each driver instead of calling all of
them line6usb.
This needs to be done
Provide a unique name for each driver instead of using line6usb for
all of them. This will allow for different configurations based on the
driver type.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 3 ++-
sound/usb/line6/driver.h | 3 +--
sound/usb/line6
It is unlikely this function would ever be used in a context without a
pointer to a `struct usb_line6_toneport', so grab the device type from
it rather than having the caller do it.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/toneport.c | 19 ---
1 file
Changes in v2:
* return true/false instead of 1/0
* do not include spaces in driver name
* drop patch altering struct names (unnecessary)
Chris Rorvick (3):
ALSA: line6: Add toneport_has_source_select()
ALSA: line6: Pass toneport pointer to toneport_has_led()
ALSA: line6: Pass driver
On Fri, Feb 6, 2015 at 8:56 AM, Takashi Iwai wrote:
> At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote:
>> --- a/sound/usb/line6/toneport.c
>> +++ b/sound/usb/line6/toneport.c
>> @@ -343,6 +343,20 @@ static void toneport_remove_leds(struct
>> u
Add a predicate for testing if the device supports source selection to
make the conditional logic around this a bit cleaner.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/toneport.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/sound
It is unlikely this function would ever be used in a context without a
pointer to a `struct usb_line6_toneport', so grab the device type from
it rather than having the caller do it.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/toneport.c | 19 ---
1 file changed, 12
It is just noise that makes lines longer.
Signed-off-by: Chris Rorvick
---
sound/usb/line6/capture.c | 2 +-
sound/usb/line6/driver.c | 42 +++---
sound/usb/line6/driver.h | 22 ++--
sound/usb/line6/midi.c | 24
Provide a descriptive name for each driver instead of calling all of
them "line6usb".
Signed-off-by: Chris Rorvick
---
sound/usb/line6/driver.c | 3 ++-
sound/usb/line6/driver.h | 3 +--
sound/usb/line6/pod.c | 2 +-
sound/usb/line6/podhd.c| 2 +-
sound/usb/line6/tone
. :-)
Regards,
Chris
Chris Rorvick (4):
ALSA: line6: Add toneport_has_source_select()
ALSA: line6: Pass toneport pointer to toneport_has_led()
ALSA: line6: Pass driver name to line6_probe()
ALSA: line6: Remove `usb_' prefix from structs
sound/usb/line6/capture.c | 2 +-
sound/usb
Add a predicate for testing if the device supports source selection to
make the conditional logic around this a bit cleaner.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/toneport.c | 32
1 file changed, 16 insertions(+), 16 deletions
It is unlikely this function would ever be used in a context without a
pointer to a `struct usb_line6_toneport', so grab the device type from
it rather than having the caller do it.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/toneport.c | 19 ---
1 file
On Fri, Feb 6, 2015 at 8:56 AM, Takashi Iwai ti...@suse.de wrote:
At Fri, 6 Feb 2015 08:51:09 -0600, Chris Rorvick wrote:
--- a/sound/usb/line6/toneport.c
+++ b/sound/usb/line6/toneport.c
@@ -343,6 +343,20 @@ static void toneport_remove_leds(struct
usb_line6_toneport *toneport
Provide a descriptive name for each driver instead of calling all of
them line6usb.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/driver.c | 3 ++-
sound/usb/line6/driver.h | 3 +--
sound/usb/line6/pod.c | 2 +-
sound/usb/line6/podhd.c| 2 +-
sound/usb/line6
It is just noise that makes lines longer.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/capture.c | 2 +-
sound/usb/line6/driver.c | 42 +++---
sound/usb/line6/driver.h | 22 ++--
sound/usb/line6/midi.c | 24
. :-)
Regards,
Chris
Chris Rorvick (4):
ALSA: line6: Add toneport_has_source_select()
ALSA: line6: Pass toneport pointer to toneport_has_led()
ALSA: line6: Pass driver name to line6_probe()
ALSA: line6: Remove `usb_' prefix from structs
sound/usb/line6/capture.c | 2 +-
sound/usb
On Sun, Feb 1, 2015 at 2:37 AM, Takashi Iwai wrote:
> At Sun, 1 Feb 2015 01:01:07 -0600, Chris Rorvick wrote:
>>
>> Found a couple more things to rip out.
>
> Thanks, applied both (with removals of the declarations in midibuf.h,
> too).
Oops, thanks for fix
On Sun, Feb 1, 2015 at 2:37 AM, Takashi Iwai ti...@suse.de wrote:
At Sun, 1 Feb 2015 01:01:07 -0600, Chris Rorvick wrote:
Found a couple more things to rip out.
Thanks, applied both (with removals of the declarations in midibuf.h,
too).
Oops, thanks for fixing up.
Regards,
Chris
Found a couple more things to rip out.
Regards,
Chris
Chris Rorvick (2):
ALSA: line6: Remove unused line6_midibuf_status()
ALSA: line6: Remove unused line6_midibuf_skip_message()
sound/usb/line6/midibuf.c | 18 --
1 file changed, 18 deletions(-)
--
2.1.0
Use of this function ended with commits 3e58c868db1d ("staging: line6:
drop midi_mask_receive") and af89d2897a71 ("staging: line6: drop
midi_mask_transmit".)
Signed-off-by: Chris Rorvick
---
sound/usb/line6/midibuf.c | 11 ---
1 file changed, 11 deletions(-)
di
This function has not been used since merging the driver into the kernel
(and a good while before that.)
Signed-off-by: Chris Rorvick
---
sound/usb/line6/midibuf.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/sound/usb/line6/midibuf.c b/sound/usb/line6/midibuf.c
index b5c4d79
Found a couple more things to rip out.
Regards,
Chris
Chris Rorvick (2):
ALSA: line6: Remove unused line6_midibuf_status()
ALSA: line6: Remove unused line6_midibuf_skip_message()
sound/usb/line6/midibuf.c | 18 --
1 file changed, 18 deletions(-)
--
2.1.0
Use of this function ended with commits 3e58c868db1d (staging: line6:
drop midi_mask_receive) and af89d2897a71 (staging: line6: drop
midi_mask_transmit.)
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/midibuf.c | 11 ---
1 file changed, 11 deletions(-)
diff --git
This function has not been used since merging the driver into the kernel
(and a good while before that.)
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
sound/usb/line6/midibuf.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/sound/usb/line6/midibuf.c b/sound/usb/line6/midibuf.c
is much easier
to understand and the resulting function is still viewable within a
single screen.
Signed-off-by: Chris Rorvick
---
As made obvious by the previous version of this patch: compile tested
only.
Regards,
Chris
drivers/staging/emxx_udc/emxx_udc.c | 52
On Fri, Jan 30, 2015 at 5:30 PM, Chris Rorvick wrote:
> +
> + ep->ep.maxpacket = (i == 0 ? EP0_PACKETSIZE : EP0_PACKETSIZE);
> +
Damn. I looked this over twice before sending this and still only
noticed this stupid typo after sending it. Will send a v2 sho
is much easier
to understand and the resulting function is still viewable within a
single screen.
Signed-off-by: Chris Rorvick
---
drivers/staging/emxx_udc/emxx_udc.c | 52 ++---
1 file changed, 14 insertions(+), 38 deletions(-)
diff --git a/drivers/staging/emxx_udc
On Fri, Jan 30, 2015 at 11:35 AM, Rickard Strandqvist
wrote:
> 2015-01-30 15:20 GMT+01:00 Dan Carpenter :
>> Yes. Please send that as a patch which can be applied.
>>
>> regards,
>> dan carpenter
>>
>
>
> Hi
>
> Okay, I'll do it this weekend.
> Or do you do it Chris?
I'll send out a patch
On Fri, Jan 30, 2015 at 11:35 AM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
2015-01-30 15:20 GMT+01:00 Dan Carpenter dan.carpen...@oracle.com:
Yes. Please send that as a patch which can be applied.
regards,
dan carpenter
Hi
Okay, I'll do it this weekend.
Or do
is much easier
to understand and the resulting function is still viewable within a
single screen.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
As made obvious by the previous version of this patch: compile tested
only.
Regards,
Chris
drivers/staging/emxx_udc/emxx_udc.c | 52
is much easier
to understand and the resulting function is still viewable within a
single screen.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
drivers/staging/emxx_udc/emxx_udc.c | 52 ++---
1 file changed, 14 insertions(+), 38 deletions(-)
diff --git a/drivers
On Fri, Jan 30, 2015 at 5:30 PM, Chris Rorvick ch...@rorvick.com wrote:
+
+ ep-ep.maxpacket = (i == 0 ? EP0_PACKETSIZE : EP0_PACKETSIZE);
+
Damn. I looked this over twice before sending this and still only
noticed this stupid typo after sending it. Will send a v2 shortly
On Thu, Jan 29, 2015 at 5:46 PM, Chris Rorvick wrote:
> That whole chunk of code looks odd. Why the base 16 conversion when
> we already know it's a decimal digit? Seems like this would work
> without the hassle of the string conversion:
Hmm, or probably even better to do this wher
On Thu, Jan 29, 2015 at 3:52 PM, Rickard Strandqvist
wrote:
> The last one was more interesting, se below.
> But I can not really see how any error should be handled here?
> Proposal to change to:
>
> if (kstrtol(tempbuf, 16, ) == 0 && num == 0)
That whole chunk of code looks odd. Why the
On Thu, Jan 29, 2015 at 5:46 PM, Chris Rorvick ch...@rorvick.com wrote:
That whole chunk of code looks odd. Why the base 16 conversion when
we already know it's a decimal digit? Seems like this would work
without the hassle of the string conversion:
Hmm, or probably even better to do
On Thu, Jan 29, 2015 at 3:52 PM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
The last one was more interesting, se below.
But I can not really see how any error should be handled here?
Proposal to change to:
if (kstrtol(tempbuf, 16, num) == 0 num == 0)
That whole
On Wed, Jan 28, 2015 at 4:42 PM, Rickard Strandqvist
wrote:
> Variable ar assigned a value that is never used.
> I have also removed all the code that thereby serves no purpose.
Each of these changes adds a warning ...
> diff --git a/drivers/staging/emxx_udc/emxx_udc.c
>
On Wed, Jan 28, 2015 at 4:42 PM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Variable ar assigned a value that is never used.
I have also removed all the code that thereby serves no purpose.
Each of these changes adds a warning ...
diff --git
On Sat, Jan 17, 2015 at 10:13 AM, Rickard Strandqvist
wrote:
> Remove the function tipc_link_get_max_pkt() that is not used anywhere.
This is already in the next tree:
commit 54fef04ad05f15984082c225fe47ce6af8ea1c5c
Author: Ying Xue
Date: Fri Jan 9 15:27:03 2015 +0800
tipc: remove
On Sat, Jan 17, 2015 at 10:13 AM, Rickard Strandqvist
rickard_strandqv...@spectrumdigital.se wrote:
Remove the function tipc_link_get_max_pkt() that is not used anywhere.
This is already in the next tree:
commit 54fef04ad05f15984082c225fe47ce6af8ea1c5c
Author: Ying Xue ying@windriver.com
On Thu, Jan 15, 2015 at 6:54 AM, Chris Rorvick wrote:
> On Thu, Jan 15, 2015 at 5:03 AM, Oliver Neukum wrote:
>> On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote:
>>> The descriptor member `bNumEndpoints' is plural.
>>
>> I am afraid that is not a good
On Thu, Jan 15, 2015 at 5:03 AM, Oliver Neukum wrote:
> On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote:
>> The descriptor member `bNumEndpoints' is plural.
>
> I am afraid that is not a good idea. The name of a
> member of a structure mentioned in the specificati
On Thu, Jan 15, 2015 at 6:54 AM, Chris Rorvick ch...@rorvick.com wrote:
On Thu, Jan 15, 2015 at 5:03 AM, Oliver Neukum oneu...@suse.de wrote:
On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote:
The descriptor member `bNumEndpoints' is plural.
I am afraid that is not a good idea. The name
On Thu, Jan 15, 2015 at 5:03 AM, Oliver Neukum oneu...@suse.de wrote:
On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote:
The descriptor member `bNumEndpoints' is plural.
I am afraid that is not a good idea. The name of a
member of a structure mentioned in the specification should
appear
The descriptor member `bNumEndpoints' is plural.
Signed-off-by: Chris Rorvick
---
include/linux/usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/usb.h b/include/linux/usb.h
index f89c24a..4add566 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
The descriptor member `bNumEndpoints' is plural.
Signed-off-by: Chris Rorvick ch...@rorvick.com
---
include/linux/usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/usb.h b/include/linux/usb.h
index f89c24a..4add566 100644
--- a/include/linux/usb.h
+++ b
the effect of taking the
absolute value of the user-provided data.
Signed-off-by: Chris Rorvick
Reviewed-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/lprocf
hat it only
applies when units are specified.
Signed-off-by: Chris Rorvick
Reviewed-by: Andreas Dilger
---
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c
b
. Compile tested only.
Chris Rorvick (2):
staging: lustre: Use mult if units not specified
staging: lustre: Track sign separately
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.1.0
--
To unsubscribe from this
> At Fri, 9 Jan 2015 23:35:46 -0600,
> Chris Rorvick wrote:
>>
>> I have a TonePort UX2 that I've used for testing, meaning that some of
>> this is really only compile-tested.
>
> If anyone is responsible for testing with real hardware, I'll happily
> revie
At Fri, 9 Jan 2015 23:35:46 -0600,
Chris Rorvick wrote:
I have a TonePort UX2 that I've used for testing, meaning that some of
this is really only compile-tested.
If anyone is responsible for testing with real hardware, I'll happily
review.
To be clear, the TonePort UX2 is real hardware
only.
Chris Rorvick (2):
staging: lustre: Use mult if units not specified
staging: lustre: Track sign separately
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.1.0
--
To unsubscribe from this list: send the line
are specified.
Signed-off-by: Chris Rorvick ch...@rorvick.com
Reviewed-by: Andreas Dilger andreas.dil...@intel.com
---
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c
b
the
absolute value of the user-provided data.
Signed-off-by: Chris Rorvick ch...@rorvick.com
Reviewed-by: Andreas Dilger andreas.dil...@intel.com
---
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging
1 - 100 of 266 matches
Mail list logo