From patchwork Mon Jun 12 02:10:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 9780285 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4762260382 for ; Mon, 12 Jun 2017 02:10:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A326283C0 for ; Mon, 12 Jun 2017 02:10:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C6DF284FC; Mon, 12 Jun 2017 02:10:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68ACF283C0 for ; Mon, 12 Jun 2017 02:10:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbdFLCKo (ORCPT ); Sun, 11 Jun 2017 22:10:44 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:42502 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbdFLCKo (ORCPT ); Sun, 11 Jun 2017 22:10:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=P9yAHOd/7F32kTG7geASWR48TkMMuyWimi0/0mgdJVY=; b=MxfkNAGCvFECTrYVhWjCSOBC2 rryACApISyjXcbr5hRtIF3SF032taZnCqNvxjT3fYAMvwyAsZrItAVQac46/YCcIwUqK/1QMocUrD dVnarj9fudlymqT9K+vdayZcZuvhH58HOH3fkOxMGseB++sogpQaaDs/zxiHlHeHmHhu6d9qUdyca bBLyiSNPx1ZpCj2NpAMY9wlE+d9EPtp8IAERibrR8hPSBGrI2x15/QXPLc4V+1mH0QMB6W891nw3b K5niTA8a+Sx+qALdcCdZnzsSiQrV3eEdpRV6ANtVx4LJFAfaywmnVQE4yI+vX31FNeZ0zEbcvjNnq k6pABIMvg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=[192.168.1.19]) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dKEoT-0007MY-KV; Mon, 12 Jun 2017 02:10:41 +0000 To: linux-pci , LKML , Bjorn Helgaas Cc: Kishon Vijay Abraham I From: Randy Dunlap Subject: [PATCH] pci: endpoint: fix endpoint test build error Message-ID: <89a5b4f8-69bb-a5bc-5400-06c24050595d@infradead.org> Date: Sun, 11 Jun 2017 19:10:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap PCI endpoint test driver uses crc32_le() so it should select CRC32. Fixes this build error (when CRC32=m): drivers/built-in.o: In function `pci_epf_test_cmd_handler': pci-epf-test.c:(.text+0x2d98d): undefined reference to `crc32_le' Fixes 349e7a85b25f (PCI: endpoint: functions: Add an EP function to test PCI). Reported-by: kbuild test robot Signed-off-by: Randy Dunlap Cc: Kishon Vijay Abraham I Cc: Bjorn Helgaas Acked-by: Kishon Vijay Abraham I --- drivers/pci/endpoint/functions/Kconfig | 1 + 1 file changed, 1 insertion(+) --- lnx-412-rc4.orig/drivers/pci/endpoint/functions/Kconfig +++ lnx-412-rc4/drivers/pci/endpoint/functions/Kconfig @@ -5,6 +5,7 @@ config PCI_EPF_TEST tristate "PCI Endpoint Test driver" depends on PCI_ENDPOINT + select CRC32 help Enable this configuration option to enable the test driver for PCI Endpoint.