Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6892242yba; Wed, 1 May 2019 23:41:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwl/2UvCsbY6w6gf5eC+tXn4QgyGng9vfwMcmPWo2fz7wz4Pdw4/s63BGsp8m1aYNFbm6Pt X-Received: by 2002:a63:8b4b:: with SMTP id j72mr2308190pge.318.1556779290625; Wed, 01 May 2019 23:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556779290; cv=none; d=google.com; s=arc-20160816; b=oYHGMc7KawJWlC3aEu+Unmb0YZscDMX8VBG6OUCSmD53kylxIdnWLfBBg0EXpOgkYZ kg6cxD6bjNVJZrhTRZBWAGY7r7EGLOvkd8Hqjx76fAnceeGCTkQCWGWRqD1ZDq30YcNd vZt2Z2G1t4PWvve9g8ax2f5jyh2++9C8tasDN7oZOo76jIBivdbE4la2BSdV/9X3TGL8 dYDemDjVtovoXZ+9EJa+1FahEYQIWb5QuG6loJv9DtyanJD083FRVssLjsP9THfWD71I mU/o/xfRFiVDutjMF44n2nN15fcktk4lpj2TLx908nLkBMBX78/MfzfYbOZKvNwZyDRx qJHA== 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; bh=pqJ8vEDfMyVtSt2U+4+lN8WVjH4cjev48bUHETqNG94=; b=WphpZ3BaUqzfUhK9GqvgQ0S/QgYa7Nqp1vxPJylgMN9E1c1fdApAH9z/ayQeyN04z5 UckfhsG1ZBHSVJdpMvNxj8gPxf/iLK+8pBVIR7MBmqug89vJGiwZc1lj02/+SW5aCbNG BVCvH35keLsyH37IjaCOIhrP51VIhW0lWBTaX5PTWo0Ak9Zg+REAnHG7xQ+14xND++7n PV2KGjpmuuA3EHUzLf+I5iSWtGCxEMos8hrq5/fjXESTrAhLu0Z1qZ1TZ/a7Y5xcHp+D fwP2gUHbB8rxDbqt+0gLGh9Vz9Jwez/p9IQOH+ehHHpoggi9bOiGFg5lLDw+KhjMnwKd rh2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=T8p1ZpJp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si42712281pfh.265.2019.05.01.23.41.15; Wed, 01 May 2019 23:41:30 -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=@kernel.org header.s=default header.b=T8p1ZpJp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726194AbfEBGkY (ORCPT + 99 others); Thu, 2 May 2019 02:40:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:58864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725764AbfEBGkY (ORCPT ); Thu, 2 May 2019 02:40:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3ABF1208C4; Thu, 2 May 2019 06:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556779223; bh=VKRnFzqwCQEQEJ4Whj1x0Xu91tlu8JsLCBySle3yAbM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T8p1ZpJppNoJp7O4j75gUhtvC7VqfqcrSud4+QxpZ5Av0V6CcEwfq2CqR/sfp+a5r UXy7GLtsv0jhdmm0qAE/Kasgsaz4tTh4ayHBl14I4g9WPIPEk6IOBap7JOL2RH1Y1L l+05oYWOcBVWK9MorrgwN1u+pGDHMuSXGRmIncRg= Date: Thu, 2 May 2019 08:40:21 +0200 From: Greg Kroah-Hartman To: Vijay Khemka Cc: Arnd Bergmann , Joel Stanley , Andrew Jeffery , linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, sdasari@fb.com Subject: Re: [PATCH] misc: aspeed-lpc-ctrl: Correct return values Message-ID: <20190502064021.GA14911@kroah.com> References: <20190501223836.1670096-1-vijaykhemka@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190501223836.1670096-1-vijaykhemka@fb.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 01, 2019 at 03:38:36PM -0700, Vijay Khemka wrote: > Corrected some of return values with appropriate meanings. > > Signed-off-by: Vijay Khemka > --- > drivers/misc/aspeed-lpc-ctrl.c | 15 +++++++-------- > 1 file changed, 7 insertions(+), 8 deletions(-) > > diff --git a/drivers/misc/aspeed-lpc-ctrl.c b/drivers/misc/aspeed-lpc-ctrl.c > index 332210e06e98..97ae341109d5 100644 > --- a/drivers/misc/aspeed-lpc-ctrl.c > +++ b/drivers/misc/aspeed-lpc-ctrl.c > @@ -68,7 +68,6 @@ static long aspeed_lpc_ctrl_ioctl(struct file *file, unsigned int cmd, > unsigned long param) > { > struct aspeed_lpc_ctrl *lpc_ctrl = file_aspeed_lpc_ctrl(file); > - struct device *dev = file->private_data; > void __user *p = (void __user *)param; > struct aspeed_lpc_ctrl_mapping map; > u32 addr; This change is not reflected in your changelog text :( Please fix up, or break this up into multiple patches. greg k-h