From patchwork Tue Mar 5 18:17:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aaditya Kumar X-Patchwork-Id: 2221161 Return-Path: X-Original-To: patchwork-ltsi-dev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) by patchwork2.kernel.org (Postfix) with ESMTP id 09FBBDF24C for ; Tue, 5 Mar 2013 18:17:26 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [IPv6:::1]) by mail.linuxfoundation.org (Postfix) with ESMTP id DF13C893; Tue, 5 Mar 2013 18:17:25 +0000 (UTC) X-Original-To: ltsi-dev@lists.linuxfoundation.org Delivered-To: ltsi-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id A57CA8AB for ; Tue, 5 Mar 2013 18:17:24 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 2114E1F8CA for ; Tue, 5 Mar 2013 18:17:23 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id da11so5926887veb.38 for ; Tue, 05 Mar 2013 10:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=jMYFpf7nKGc04czNRCrNx0nvzNCbib7AJHgq5DfCWjA=; b=epF5gi5orwizof80GV9tSCZcGHccLC7ET410BDXLAVUBe0InutULMhqtPe2j9kAM2+ 5HCyoSSUBbeM7bJcyj7Id2SAwTyxGhHtMat7SKHv3+gLldrcAMm5m3nOFKBMhD1Ek1wv SFu5U5y/Hnw559U+QPUO/Ub/pHn+h4E6vozZJvl+lE4Q7y+GP9/iw4AiONvxzmiy/ZqH KNd3vrqvdikYTnDx2PUAPrRlY2eLK/5WBrpy0J8PuA2106t6oxj7y/yVY+ZPuPn4WdmE 7oWen9tfhGM7e0Rqgn2XLFHmsTCVPawZ+qucLR3m4G9Kt9mHNYPTUn2wrwVKJrNsMO2P e7JQ== MIME-Version: 1.0 X-Received: by 10.52.177.161 with SMTP id cr1mr8606642vdc.64.1362507443004; Tue, 05 Mar 2013 10:17:23 -0800 (PST) Received: by 10.59.11.132 with HTTP; Tue, 5 Mar 2013 10:17:22 -0800 (PST) In-Reply-To: References: Date: Tue, 5 Mar 2013 23:47:22 +0530 Message-ID: From: Aaditya Kumar To: Greg KH X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: ltsi-dev@lists.linuxfoundation.org, takuzo.ohara@ap.sony.com, frank.rowand@am.sony.com, jamshed.a@ap.sony.com Subject: [LTSI-dev] [PATCH RESEND] AXFS: fix incompatible type assignment warning in axfs_register_profiling_proc() X-BeenThere: ltsi-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "A list to discuss patches, development, and other things related to the LTSI project" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ltsi-dev-bounces@lists.linuxfoundation.org Errors-To: ltsi-dev-bounces@lists.linuxfoundation.org This patch fixes following compilation warning caused by Commit-ID: a7e526129f6ea298513ef4ce7aa6db08fc069d14 fs/axfs/axfs_profiling.c: In function ‘axfs_register_profiling_proc’: fs/axfs/axfs_profiling.c:399:23: warning: assignment from incompatible pointer type [enabled by default] fs/axfs/axfs_profiling.c:400:24: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Aaditya Kumar signed-off-by: address do not match, making it impossible for me to --- Dear Greg, It seems this patch was missed when applying AXFS build failure fixes. (In commit id f56dadc96c6e1693e2fbd0212872534f7229eb56). I originally posted it at: http://lists.linuxfoundation.org/pipermail/ltsi-dev/2012-December/001121.html --- fs/axfs/axfs_profiling.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.9.5 diff --git a/fs/axfs/axfs_profiling.c b/fs/axfs/axfs_profiling.c index 9e1741f..a1c1a40 100644 --- a/fs/axfs/axfs_profiling.c +++ b/fs/axfs/axfs_profiling.c @@ -182,7 +182,7 @@ out: } -static ssize_t axfs_procfile_read(char *buffer, +static int axfs_procfile_read(char *buffer, char **buffer_location, off_t offset, int buffer_length, int *eof, void *data) @@ -261,7 +261,7 @@ static ssize_t axfs_procfile_read(char *buffer, return print_len; } -static ssize_t axfs_procfile_write(struct file *file, +static int axfs_procfile_write(struct file *file, const char *buffer, unsigned long count, void *data) {