Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1013211pxb; Thu, 9 Sep 2021 18:00:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIXx8CMvtiT1V7y8WkGYNEBmNjg/FHOk2zdjH82eZ9zT/skR5xICFuQ+DFC8zK9KxaUxNv X-Received: by 2002:a92:d406:: with SMTP id q6mr4528197ilm.166.1631235629721; Thu, 09 Sep 2021 18:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631235629; cv=none; d=google.com; s=arc-20160816; b=su7vl6Ox7A8O491rTCG/1M0pCpVJ46fiL2EEbVVWayfyI+NMN6WH6BJcI8DaARjutL 0miluJmzURvp5IC84hfUdSo1k8jrM+2aYi/lbj/e1kftbDcDOE8DY6w1mxbJcA56j/a2 nbwD7ZgEqkAGNNSeD/FFG2CDG3IQgdT/vDQG3EouZ+BZgYz2X/XmKOZ0nM41/EvMg1RP eK8dfTK0TIq6dBxXDAWrzhZ4rp74pvUjc5NFOQppg0es61qitVaRsmXOelhVIaE5kAVu oB1t/+gtR1/qQIEM/6CmAd96C9g3nIKLEoSqF5Ul32T2kNY5uvnMX/8kr3q7sZmgUBJO YqVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1OzseFzcCAE1b5qOcL8gqgdW5FqAuVZLX4jp/igE/1A=; b=vVhI85Z/wutGLBwYwSoAW9o5a6t8FAn7SIg/go9ILASx8seAMs/cwpctiqYyD4jekd lIX127vMZP+Py7gdMVdUDuiqmgo0VXRbfcy4K+u99PojP0FfRpyuc0vIpZN4KwieYz5h cnULjKyVxB8XiiD5uelhFbvgK5YBcL8tR3Gnlm8ZLaz/K4AXdWS3Ck95UCVkAbqGZck9 aBCWVZg+FRII7kVanqA+hMFaI9MxGImgybJcd0XRkKoEWzprW3olBKtZ/Wwx1ToWTZKY VMc2hf7NIsLwvWOqZCYAab5FwBK+pt2ocy6L4b3A3uXlyRHU9yn3MUJRnqQ6pJaX9bFn 0myg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I+uBH3sf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i37si3228746jaf.126.2021.09.09.18.00.18; Thu, 09 Sep 2021 18:00:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I+uBH3sf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245019AbhIJBAX (ORCPT + 99 others); Thu, 9 Sep 2021 21:00:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:48866 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234467AbhIJAXY (ORCPT ); Thu, 9 Sep 2021 20:23:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B9C4611BD; Fri, 10 Sep 2021 00:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631233334; bh=m0SkfDEe4BupFPCc5cdIPFGZzcGkPqPOX8g2AK0Xpi0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I+uBH3sfOSHc5NHjc6cOCBn6XrTDz2PVh6g4aHfdwX93pEp7R1oq/5O/mByvhh2vn KTuD40XD7u2ifXJmm6jJDxDfrmgVPJKo3D+PnPm4i0bxtiwcHhomOHuVA9B/YQol/7 QNznh6PC+G2LQJpKPHl6vr3YRktPHmxLhi2bRfB9k1CoCarxjb6eids5UKM5J5CBjm P3eMNRJXXiDM0k/+NhHJS/dkYT2FHoBvjfaDva55vZ9GtH6cgXTYevx99vcmdQ5aYm hjCjyPks6DHjmnFgL3x9SgGjlvkwkSC5pbiqqKV5BjUgVyhqo6oFbhqTZhHsXDo5FN 0JG0Wfoa8UV1g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Masahiro Yamada , "Martin K . Petersen" , Sasha Levin , linux-scsi@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 23/37] scsi: core: Fix missing FORCE for scsi_devinfo_tbl.c build rule Date: Thu, 9 Sep 2021 20:21:28 -0400 Message-Id: <20210910002143.175731-23-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210910002143.175731-1-sashal@kernel.org> References: <20210910002143.175731-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masahiro Yamada [ Upstream commit 98079418c53fff5f9e2d4087f08eaff2a9ce7714 ] Add FORCE so that if_changed can detect the command line change. scsi_devinfo_tbl.c must be added to 'targets' too. Link: https://lore.kernel.org/r/20210819012339.709409-1-masahiroy@kernel.org Signed-off-by: Masahiro Yamada Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index c00e3dd57990..7ac42eaa6250 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile @@ -183,7 +183,7 @@ CFLAGS_ncr53c8xx.o := $(ncr53c8xx-flags-y) $(ncr53c8xx-flags-m) zalon7xx-objs := zalon.o ncr53c8xx.o # Files generated that shall be removed upon make clean -clean-files := 53c700_d.h 53c700_u.h scsi_devinfo_tbl.c +clean-files := 53c700_d.h 53c700_u.h $(obj)/53c700.o: $(obj)/53c700_d.h @@ -192,9 +192,11 @@ $(obj)/scsi_sysfs.o: $(obj)/scsi_devinfo_tbl.c quiet_cmd_bflags = GEN $@ cmd_bflags = sed -n 's/.*define *BLIST_\([A-Z0-9_]*\) *.*/BLIST_FLAG_NAME(\1),/p' $< > $@ -$(obj)/scsi_devinfo_tbl.c: include/scsi/scsi_devinfo.h +$(obj)/scsi_devinfo_tbl.c: include/scsi/scsi_devinfo.h FORCE $(call if_changed,bflags) +targets += scsi_devinfo_tbl.c + # If you want to play with the firmware, uncomment # GENERATE_FIRMWARE := 1 -- 2.30.2