Thread (2 messages) 2 messages, 2 authors, 2021-08-20

Re: linux-next: build warning after merge of the scsi tree

From: Masahiro Yamada <masahiroy@kernel.org>
Date: 2021-08-20 06:31:44
Also in: lkml

On Fri, Aug 20, 2021 at 3:14 PM Stephen Rothwell [off-list ref] wrote:
Hi all,

After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/Makefile:197: FORCE prerequisite is missing

Exposed by commit

  0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")

I don't know why this warning only appeared after the merge of the scsi
tree, since the offending line has been in this Makefile since 2017
You are doing incremental builds.

Presumably, because include/scsi/scsi_devinfo.h
is touched by the following commit in the scsi tree.

commit f591a2e0548da88130c7b1c79f1f735273adc683
Author: Martin Kepplinger [off-list ref]
Date:   Sun Jul 4 09:54:01 2021 +0200


Kbuild rebuilds scsi_devinfo_tbl.o due to the
timestamp update, then displays the warning.



If the scsi maintainers want to fix this issue,
a patch is already there.

https://lore.kernel.org/patchwork/patch/1478797/

Since this is a bug, it can get in the scsi tree
any time.





-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help