From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbbARAAu (ORCPT ); Sat, 17 Jan 2015 19:00:50 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:56212 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbbARAAt (ORCPT ); Sat, 17 Jan 2015 19:00:49 -0500 Date: Sat, 17 Jan 2015 15:53:55 -0800 From: Greg Kroah-Hartman To: Jia He Cc: linux-kernel@vger.kernel.org, Oleg Drokin , Andreas Dilger Subject: Re: [PATCH] staging: lustre: Fix sparse warning on address-space Message-ID: <20150117235355.GA23254@kroah.com> References: <1419857380-16496-1-git-send-email-hejianet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1419857380-16496-1-git-send-email-hejianet@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 29, 2014 at 08:49:40PM +0800, Jia He wrote: > This patch is to fix the below warnings generated by sparse: > warning: incorrect type in argument 1 (different address spaces) > expected void const volatile [noderef] * > got int * > Adding the macro "__user" can suppress the warnings, and aslo some lines > are adjusted for 80 chars line limitation. > Already checked by sparse "C=2" > > Signed-off-by: Jia He > Cc: Oleg Drokin > Cc: Andreas Dilger > Cc: Greg Kroah-Hartman > --- > .../staging/lustre/lustre/include/lprocfs_status.h | 18 ++++----- > .../lustre/lustre/obdclass/lprocfs_status.c | 6 +-- > drivers/staging/lustre/lustre/osc/lproc_osc.c | 44 +++++++++++----------- > drivers/staging/lustre/lustre/osc/osc_request.c | 6 +-- > .../staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c | 6 +-- > 5 files changed, 40 insertions(+), 40 deletions(-) Doesn't apply to my staging-testing branch at all :(