From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753656AbcIBLKW (ORCPT ); Fri, 2 Sep 2016 07:10:22 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:26777 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752328AbcIBLJ4 (ORCPT ); Fri, 2 Sep 2016 07:09:56 -0400 To: Baoyou Xie Cc: Joao.Pinto@synopsys.com, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@linaro.org, xie.baoyou@zte.com.cn Subject: Re: [PATCH] scsi: ufs: add missing header dependencies for tc-dwc-g210 From: "Martin K. Petersen" Organization: Oracle Corporation References: <1472465940-18570-1-git-send-email-baoyou.xie@linaro.org> Date: Fri, 02 Sep 2016 07:08:10 -0400 In-Reply-To: <1472465940-18570-1-git-send-email-baoyou.xie@linaro.org> (Baoyou Xie's message of "Mon, 29 Aug 2016 18:19:00 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Baoyou" == Baoyou Xie writes: Baoyou> We get 2 warnings when build kernel with W=1: Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:261:5: warning: no previous Baoyou> prototype for 'tc_dwc_g210_config_40_bit' [-Wmissing-prototypes] Baoyou> drivers/scsi/ufs/tc-dwc-g210.c:293:5: warning: no previous Baoyou> prototype for 'tc_dwc_g210_config_20_bit' [-Wmissing-prototypes] Baoyou> In fact, these functions are declared in ufs/tc-dwc-g210.h, so Baoyou> this patch add missing header dependencies Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering