# Re: \[PATCH 0/2\] Fix truncation warnings from building test\_scanf.c

- From: Petr Mladek \<pmladek@suse.com\>
- Date: 2021-05-27 14:10:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/05/1394096
- Thread: https://ratatoskr.run/netdev/2021/05/1390279/t.md

```text
On Tue 2021-05-25 11:20:45, Petr Mladek wrote:
> On Mon 2021-05-24 16:59:39, Richard Fitzgerald wrote:
> > The kernel test robot is reporting truncation warnings when building
> > lib/test_scanf.c:
> > 
> > Richard Fitzgerald (2):
> >   lib: test_scanf: Fix incorrect use of type_min() with unsigned types
> >   random32: Fix implicit truncation warning in prandom_seed_state()
> > 
> >  include/linux/prandom.h |  2 +-
> >  lib/test_scanf.c        | 13 ++++++-------
> >  2 files changed, 7 insertions(+), 8 deletions(-)
> 
> For both patches:
> 
> Reviewed-by: Petr Mladek <pmladek@suse.com>
> 
> I am going to commit them within next two days or so unless anyone
> complains in the meantime.

JFYI, both patches have been committed into  printk/linux.git,
branch for-5.14-vsprintf-scanf.

Best Regards,
Petr
```
