From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] mptlan: fix mpt_lan_sdu_send()'s return type Date: Tue, 08 May 2018 01:21:56 -0400 Message-ID: References: <20180424131558.3010-1-luc.vanoostenryck@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180424131558.3010-1-luc.vanoostenryck@gmail.com> (Luc Van Oostenryck's message of "Tue, 24 Apr 2018 15:15:58 +0200") Sender: linux-kernel-owner@vger.kernel.org To: Luc Van Oostenryck Cc: linux-kernel@vger.kernel.org, Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Luc, > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, but the implementation in this > driver returns an 'int'. You forgot to update the function prototype accordingly. -- Martin K. Petersen Oracle Linux Engineering