On Wed, 2018-04-25 at 18:10 +0300, Andy Shevchenko wrote:

Some typos fixed

> I would preserve similar style of buf pointer handling, i.e.
> 
> static char *valid_pointer_access(char **buf, char *end,

char *buf

>                                 const void *ptr, struct printf_spec
> spec)
> {
>       const char *err_msg;
> 
>       err_msg = check_pointer_access(ptr);
>       if (err_msg)
>               return = valid_string(*buf, end, err_msg, spec);

                return valid_string(buf, end, err_msg, spec);

>       return NULL;
> }
> 

-- 
Andy Shevchenko <[email protected]>
Intel Finland Oy

Reply via email to