On Wed, Aug 07, 2013 at 04:13:57PM +0930, Rusty Russell wrote:
> Christoph Jaeger writes:
> > In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...)
> > expands,
> > "%c" is used to print an unsigned char. So it gets printed as a character
> > what
> > is not intended here. Use "%
On Wed, Aug 07 2013, Rusty Russell wrote:
> Christoph Jaeger writes:
>> In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...)
>> expands,
>> "%c" is used to print an unsigned char. So it gets printed as a character
>> what
>> is not intended here. Use "%hhu" instead.
>>
>> Signed
Christoph Jaeger writes:
> In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...) expands,
> "%c" is used to print an unsigned char. So it gets printed as a character what
> is not intended here. Use "%hhu" instead.
>
> Signed-off-by: Christoph Jaeger
Nice patch. Unfortunately, t
On Tue, 2013-08-06 at 23:12 +0200, Christoph Jaeger wrote:
> In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...) expands,
> "%c" is used to print an unsigned char. So it gets printed as a character what
> is not intended here. Use "%hhu" instead.
>
> Signed-off-by: Christoph Jaeg
In param_get_byte(), to which the macro STANDARD_PARAM_DEF(byte, ...) expands,
"%c" is used to print an unsigned char. So it gets printed as a character what
is not intended here. Use "%hhu" instead.
Signed-off-by: Christoph Jaeger
---
kernel/params.c | 2 +-
1 file changed, 1 insertion(+), 1 de
5 matches
Mail list logo