From patchwork Tue Mar 10 17:16:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5979631 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6DAEDBF440 for ; Tue, 10 Mar 2015 17:19:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB1E620109 for ; Tue, 10 Mar 2015 17:19:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E492820220 for ; Tue, 10 Mar 2015 17:19:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751585AbbCJRSt (ORCPT ); Tue, 10 Mar 2015 13:18:49 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:38740 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753276AbbCJRRT (ORCPT ); Tue, 10 Mar 2015 13:17:19 -0400 Received: by pabrd3 with SMTP id rd3so3855383pab.5; Tue, 10 Mar 2015 10:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TVU1STTR+AQ42LJMN+zrzKS0+HTZMDiUgZPmUqtx6Rw=; b=gRgqrWfRZK4TNKuuOxbpXxSw7ZxNvJWjqVRFBpAoL1g5xtbVJOzeNAbS/sGsaNCIqp S0wMiy/beAj7GPb0qGDYTu/d8ZT6QqLobkhS1mQPd0dSD9O6PKYk1HC1CDfLrAkP6mpD nCdxHo6/VOTCI+QxA9oXaT6hz0qzl8IGTxsyg+EX/bQCcKWNxj2n6INMSANZoelNCRoN +USDjELS9pEpVrU/ldlS6xFYEJwFumPV87V+f7o1YeP6Jub/znLGdTT2NXhMaqm8vaZQ VQEFPb61HK8jyrmSzBPrENsVcqYym5Md5WGLRh+dOlL/JURNl7lTgX45yP7iiN+LedRp ocWg== X-Received: by 10.66.118.198 with SMTP id ko6mr69043416pab.16.1426007838557; Tue, 10 Mar 2015 10:17:18 -0700 (PDT) Received: from localhost.localdomain ([122.169.145.94]) by mx.google.com with ESMTPSA id kd9sm2087506pab.0.2015.03.10.10.17.16 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Mar 2015 10:17:18 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH 3/6] staging: sm750fb: correct function return Date: Tue, 10 Mar 2015 22:46:54 +0530 Message-Id: <1426007817-1884-4-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1426007817-1884-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1426007817-1884-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP hw_cursor_setData2() is a function with void return type but it was returning an integer. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/sm750_cursor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 76b6029..7bd17d1 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -248,6 +248,4 @@ void hw_cursor_setData2(struct lynx_cursor * cursor, } } - return 0; - }