Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753586AbdLDIUi convert rfc822-to-8bit (ORCPT ); Mon, 4 Dec 2017 03:20:38 -0500 Received: from mga01.intel.com ([192.55.52.88]:4362 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753203AbdLDIUd (ORCPT ); Mon, 4 Dec 2017 03:20:33 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,358,1508828400"; d="scan'208";a="12751354" From: "Dilger, Andreas" To: Andrii Vladyka CC: "Drokin, Oleg" , "jsimmons@infradead.org" , "gregkh@linuxfoundation.org" , "lustre-devel@lists.lustre.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] staging: lustre: Fix sparse, using plain integer as NULL pointer in lov_object_fiemap() Thread-Topic: [PATCH] staging: lustre: Fix sparse, using plain integer as NULL pointer in lov_object_fiemap() Thread-Index: AQHTaglqOSmr3oZ3rk2EuylCZrG8GaMzY4UA Date: Mon, 4 Dec 2017 08:20:29 +0000 Message-ID: <7A48E652-421B-464B-AD2A-C3D5613B48E5@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.69.203] Content-Type: text/plain; charset="us-ascii" Content-ID: <8B06D03FDF1DB64DBF7AE14BF21543AD@intel.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 460 Lines: 24 > On Nov 30, 2017, at 11:30, Andrii Vladyka wrote: > > Change 0 to NULL in lov_object_fiemap() in order to fix warning produced by sparse > > Signed-off-by: Andrii Vladyka Patches should be inline rather than in an attachment. That said, the patch looks correct, so you can add: Signed-off-by: Andreas Dilger Cheers, Andreas -- Andreas Dilger Lustre Principal Architect Intel Corporation