# linux-next: build warning after merge of the akpm tree

- From: Stephen Rothwell \<hidden\>
- Date: 2021-01-28 08:48:42 
- List: linux-next
- Page: https://ratatoskr.run/linux-next/2021/01/6250625
- Thread: https://ratatoskr.run/linux-next/2021/01/6250625/t.md

```text
Hi all,

After merging the akpm tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

lib/stackdepot.c: In function 'is_stack_depot_disabled':
lib/stackdepot.c:154:2: warning: ignoring return value of 'kstrtobool' declared with attribute 'warn_unused_result' [-Wunused-result]
  154 |  kstrtobool(str, &stack_depot_disable);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  b9779abb09a8 ("lib: stackdepot: add support to disable stack depot")

Interestingly, we have 2 declarations of kstrtobool - one in
linux/kernel.h (which has __must_check) and one in linux/strings.h
(which doesn't).

-- 
Cheers,
Stephen Rothwell
```

## Attachments

- [(unnamed)](https://ratatoskr.run/linux-next/2021/01/6250625/attachment/0) (application/pgp-signature, 488 bytes)
