Received: by 10.192.165.148 with SMTP id m20csp4457112imm; Tue, 8 May 2018 08:44:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo1PPcywMDT7m5FotB13ckvcYK6BzWHMRJB3SnfORmKBDSsgKHJQwlp4vOvZ+DqxGQUBRgH X-Received: by 2002:a65:47cb:: with SMTP id f11-v6mr33574696pgs.235.1525794295556; Tue, 08 May 2018 08:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525794295; cv=none; d=google.com; s=arc-20160816; b=u7YKEaZlpHjiZiMtG3HQNyT8c5fr9Ubjm0mBr7v8dSP4T2IQMwaH3ad/5tWDaQpY6f V/ABVfhonW4nOj3KjbsnD3Ht6VPRt5IaR70qaI/45xwH9aJRscxNC7I2tMNNpH8kHC6Q rytwrQfnnE4d8xK43ujlt6S42VD7cUWf5zzLS340e2grSI5llfMHxWosUi2wXFOG+gJY P/wLAJW0+Uv2l+EmDLwnANIilC5eUnKqvTFEJKGVo97GwVbQweBdHHZqgv56+edEW1hF w4IIAuaI1jFRp2KlGq2cx4JI8FjbpnHtyod4Xjqvw8ZX3kWnawVoB6ehOgJAUXbTPglq nAyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=mNr+i++mRV+HtrggxF461zhCbKpvv7D3d02ZbEAc8Ew=; b=agbx2e9gz+SotF/O6oNmI2FNgc5mspwzWSATpSy3UaKxu2i/YlHKxqvpeJ4ZQjPEuB V8KtfndbMtNLMKtYzM5stPmwH6E95zKyac6Scc9ncuXdD4h2YvjzDzNkXhvd4hnqnD/e TznCdMrplRUxWAyOCPD2qPwInCTborzto1C51D31gvJwItrY06TSfsBSFYx1M3yuDtLT A7+5dbXLViLmAF0eokyyI3ZXb0CiDo/fdVzKPi61s8bIvwxI3bVxK7fbwJp+JQY96/ao 9gHtm0S9+sFiYJAh4yM2FQIEo+FkIrJjcPV/yWMTNdp4yHhNUOfCZkcGX8uH6LIE2P8z Hd0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qw5vPjgS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2-v6si20164143plk.433.2018.05.08.08.44.41; Tue, 08 May 2018 08:44:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qw5vPjgS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755385AbeEHPoX (ORCPT + 99 others); Tue, 8 May 2018 11:44:23 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38106 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755059AbeEHPoU (ORCPT ); Tue, 8 May 2018 11:44:20 -0400 Received: by mail-wm0-f50.google.com with SMTP id y189-v6so4250694wmc.3; Tue, 08 May 2018 08:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mNr+i++mRV+HtrggxF461zhCbKpvv7D3d02ZbEAc8Ew=; b=qw5vPjgSzpoLhZ7aGHepnbU414Dmj8H/wKN7+0ZbfcHZSi1Dj/ZIBvAM2tBUhUje8S 2ykMjtaQLcNieLeG2BKn2OraZE686p8v4VlSqT+CvXzNFd+Lyzjy4m7cuZ4FRRDZtWoc zy1WmgNFI82ebLRTeCcFazD1CT1A11Z8E98mcBBy4jB0tupdg5dEbf7AEygHTyOlnTph +r+1MfVVnQdDmd+55+5B7vKIf3JrufciRyt/4cOTmUFPbQdthFuv8UtS3Gmsxk2eoPHR HwwpaGMQNa/bDUTg9C17kqpL+0ybo/GS+qUHVbJNbvYZ5NMkFDW8VLenz/Om6XGBte1a FjSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mNr+i++mRV+HtrggxF461zhCbKpvv7D3d02ZbEAc8Ew=; b=Gm6ecd8RpxujBp8ZOM6GUXGL+AkXHZdP22ZDIVP4ciKilLPaSbSK3YYA/dY4q/iuGu MmUO0bFPSlgD0ZLGZtatIjOB/Tc2+SSTSnRPPDvKgEzJr/geZd9eco9Y9tuIMNqtyNhD rOqfjaQaL12B8hrsJpmoCZ957WggBY1U+S6lWymAS++ToMmLeDR4LL5vT0DTXDwKEu3m aUrixSq5AQuxbAhsrTMR2xvkMTwtI41u2VgLa1/D0beyVB/dze/O1/lj6CVRnFlcNeJV +l9y4hcrhgPjD2jKSt289nrAx8g4shBfUCGFIpt0bFCeqXQmJExvqpQx3BjWgDols+aA qMtQ== X-Gm-Message-State: ALQs6tBAJa8JcT+LrZ17FnDPpGJNSZcUEwZy96faIWCprIW9k482Xz9A 9Bp3iO/zUxDBmAQctfiCqMB7DAnB X-Received: by 2002:a50:da0c:: with SMTP id z12-v6mr38961039edj.62.1525794259500; Tue, 08 May 2018 08:44:19 -0700 (PDT) Received: from ltop.local ([109.128.39.102]) by smtp.gmail.com with ESMTPSA id x29-v6sm15217160edm.26.2018.05.08.08.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 08:44:18 -0700 (PDT) Date: Tue, 8 May 2018 17:44:16 +0200 From: Luc Van Oostenryck To: "Martin K. Petersen" Cc: linux-kernel@vger.kernel.org, Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: Re: [PATCH] mptlan: fix mpt_lan_sdu_send()'s return type Message-ID: <20180508154415.neutsgpi2nwffwec@ltop.local> References: <20180424131558.3010-1-luc.vanoostenryck@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 08, 2018 at 01:21:56AM -0400, Martin K. Petersen wrote: > > 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. Hmmm, the function mpt_lan_sdu_send() has no other declaration than the one I modified the return type in this patch. Must be a misunderstanding somewhere. -- Luc