Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753688AbbL2SOW (ORCPT ); Tue, 29 Dec 2015 13:14:22 -0500 Received: from mga02.intel.com ([134.134.136.20]:31801 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752628AbbL2SOT (ORCPT ); Tue, 29 Dec 2015 13:14:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,496,1444719600"; d="scan'208";a="882991301" Date: Tue, 29 Dec 2015 18:14:18 +0000 From: Keith Busch To: Nicholas Krause Cc: axboe@fb.com, jonathan.derrick@intel.com, jay.e.sternberg@intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] nvme:Fix error handling in the function nvme_init_integrity Message-ID: <20151229181418.GA17092@localhost.localdomain> References: <1451412648-21042-1-git-send-email-xerofoify@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1451412648-21042-1-git-send-email-xerofoify@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 461 Lines: 10 On Tue, Dec 29, 2015 at 01:10:48PM -0500, Nicholas Krause wrote: > - blk_integrity_register(ns->disk, &integrity); > + if (blk_integrity_register(ns->disk, &integrity)) { Nak; blk_integrity_register returns 'void'. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/