From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752756AbbJRFMx (ORCPT ); Sun, 18 Oct 2015 01:12:53 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45841 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284AbbJRFMw (ORCPT ); Sun, 18 Oct 2015 01:12:52 -0400 Date: Sat, 17 Oct 2015 22:12:51 -0700 From: Greg Kroah-Hartman To: Sudip Mukherjee Cc: "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] PM / OPP: fix build warning Message-ID: <20151018051251.GA29770@kroah.com> References: <1444216765-9189-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444216765-9189-1-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 07, 2015 at 04:49:25PM +0530, Sudip Mukherjee wrote: > We were getting build warning that: > expected 'bool *' but argument is of type 'u32 *' > > debugfs_create_bool() used to take the argument as (u32 *), but commit > 621a5f7ad9cd ("debugfs: Pass bool pointer to debugfs_create_bool()") > has modified it and now it accepts bool, so no need to typecast a bool > to (u32 *). > > Signed-off-by: Sudip Mukherjee Acked-by: Greg Kroah-Hartman