Message ID | 1370080390.29224.25.camel@localhost.localdomain |
---|---|
State | Accepted |
Commit | 703e60655ca520c5380d8c83a9db0d5e9b906856 |
Headers | show
Return-Path: <patchwork-forward+bncBDPILVOKSELBBLVLVCGQKGQES6HJOYQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AC47925E0F for <linaro@patches.linaro.org>; Sat, 1 Jun 2013 15:39:27 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf12sf1565735vcb.6 for <linaro@patches.linaro.org>; Sat, 01 Jun 2013 08:39:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:message-id :from:to:date:x-mailer:mime-version:x-authenticated-sender :x-virus-scanned:x-mailman-approved-at:subject:x-beenthere :x-mailman-version:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:errors-to:sender :x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:x-google-group-id :content-type:content-transfer-encoding; bh=CYonYrkDMmUppXR5gLedQ0DYGD6rJihb1hAP6oLY8+M=; b=b8zghZnqSNnORcxVjghsWcHzPncEZnwqy4uYagY4od99xbfLSnARIwOpObvtPZ+wo0 qe0evScmyeMzHIl5laXYLfj892HLxlB4DOPGBAZ/+JaIpm/7elBSCqFIgWZOUZ0Zawkc S/fBBCDlh5VzAXZ6JT4bAa2tQ+ZI0TgdJkIet1vSEQI9xwUyz0zahzQjxVQchrtuCgov Zz6QHF5G/zFn4UyKwdd7LI1xEUqDLnGqNhl7Ve7lMCqZ8WHYVw67tFVFzfJXZeMSRgfr nXH/1qt4zo3yyw0YhTVQLAhsSP2yByjaxV5lJEfrtnyn9R3ErqyD924fD/9Vl3v0pa0S safw== X-Received: by 10.224.200.202 with SMTP id ex10mr9279598qab.8.1370101166965; Sat, 01 Jun 2013 08:39:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.82.226 with SMTP id l2ls1433963qey.6.gmail; Sat, 01 Jun 2013 08:39:26 -0700 (PDT) X-Received: by 10.58.50.7 with SMTP id y7mr14699053ven.24.1370101166735; Sat, 01 Jun 2013 08:39:26 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id zt2si30800377vdb.154.2013.06.01.08.39.26 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Jun 2013 08:39:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hv10so1753957vcb.20 for <patchwork-forward@linaro.org>; Sat, 01 Jun 2013 08:39:26 -0700 (PDT) X-Received: by 10.220.246.8 with SMTP id lw8mr14342729vcb.8.1370101166317; Sat, 01 Jun 2013 08:39:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.229.199 with SMTP id jj7csp16007vcb; Sat, 1 Jun 2013 08:39:25 -0700 (PDT) X-Received: by 10.180.20.177 with SMTP id o17mr6985912wie.52.1370101165102; Sat, 01 Jun 2013 08:39:25 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id ex6si4671016wib.75.2013.06.01.08.39.23 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 01 Jun 2013 08:39:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <linaro-mm-sig-bounces@lists.linaro.org>) id 1Uins9-0003Ln-Od; Sat, 01 Jun 2013 15:37:37 +0000 Received: from www17.your-server.de ([213.133.104.17]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <thomas@m3y3r.de>) id 1UiiTJ-000355-OQ for linaro-mm-sig@lists.linaro.org; Sat, 01 Jun 2013 09:51:37 +0000 Received: from [88.68.124.133] (helo=[192.168.2.108]) by www17.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from <thomas@m3y3r.de>) id 1UiiUs-00029o-9s; Sat, 01 Jun 2013 11:53:14 +0200 Message-ID: <1370080390.29224.25.camel@localhost.localdomain> From: Thomas Meyer <thomas@m3y3r.de> To: sumit.semwal@linaro.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org Date: Sat, 01 Jun 2013 11:53:10 +0200 X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 X-Authenticated-Sender: thomas@m3y3r.de X-Virus-Scanned: Clear (ClamAV 0.97.6/17282/Sat Jun 1 04:12:14 2013) X-Mailman-Approved-At: Sat, 01 Jun 2013 15:37:36 +0000 Subject: [Linaro-mm-sig] [PATCH] dma-buf: Cocci spatch "ptr_ret.spatch" X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=subscribe> Errors-To: linaro-mm-sig-bounces@lists.linaro.org Sender: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQl2/wqthFZ94llGixCWV7clyA688LfGwkPlBF3lnMc8hdxJE26Ez+XkFZzlUI0PW1hO7eLZ X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff -u -p a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c --- a/drivers/base/dma-buf.c +++ b/drivers/base/dma-buf.c @@ -680,10 +680,7 @@ int dma_buf_debugfs_create_file(const ch d = debugfs_create_file(name, S_IRUGO, dma_buf_debugfs_dir, write, &dma_buf_debug_fops); - if (IS_ERR(d)) - return PTR_ERR(d); - - return 0; + return PTR_RET(d); } #else static inline int dma_buf_init_debugfs(void)
Signed-off-by: Thomas Meyer <thomas@m3y3r.de> ---