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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpcya45SipFJ.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux