search for: s8_max

Displaying 3 results from an estimated 3 matches for "s8_max".

Did you mean: u8_max
2016 Jul 13
2
[PATCH v3 1/7] lib: string: add functions to case-convert strings
.../dynamic_debug.h> #include <asm/byteorder.h> #include <uapi/linux/kernel.h> @@ -29,6 +27,9 @@ #define ULLONG_MAX (~0ULL) #define SIZE_MAX (~(size_t)0) +#include <linux/printk.h> +#include <linux/dynamic_debug.h> + #define U8_MAX ((u8)~0U) #define S8_MAX ((s8)(U8_MAX>>1)) #define S8_MIN ((s8)(-S8_MAX - 1)) This solves bounds.c. But it doesn't help with other files that don't automatically pull in kernel.h before string.h. They still complain about SIZE_MAX being undeclared. So, #include <linux/kernel.h> *does*...
2016 Jul 13
0
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...> #include <uapi/linux/kernel.h> > > @@ -29,6 +27,9 @@ > #define ULLONG_MAX (~0ULL) > #define SIZE_MAX (~(size_t)0) > > +#include <linux/printk.h> > +#include <linux/dynamic_debug.h> > + > #define U8_MAX ((u8)~0U) > #define S8_MAX ((s8)(U8_MAX>>1)) > #define S8_MIN ((s8)(-S8_MAX - 1)) > > This solves bounds.c. But it doesn't help with other files that don't > automatically pull in kernel.h before string.h. They still complain > about SIZE_MAX being undeclared. So, #include <l...
2016 Jul 11
2
[PATCH v3 1/7] lib: string: add functions to case-convert strings
On 9 July 2016 at 08:30, Markus Mayer <markus.mayer at broadcom.com> wrote: > On 9 July 2016 at 05:04, Luis de Bethencourt <luisbg at osg.samsung.com> wrote: >> On 08/07/16 23:43, Markus Mayer wrote: >>> Add a collection of generic functions to convert strings to lowercase >>> or uppercase. >>> >>> Changing the case of a string (with or