Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1726818ybi; Sat, 25 May 2019 07:59:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVl48muNHxkEumRgmcWJz701Ta1HrWOZoqXlelMb+eygSYnGxROu0mXG1PKtunedyjFp6W X-Received: by 2002:a62:5487:: with SMTP id i129mr118355956pfb.68.1558796358298; Sat, 25 May 2019 07:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558796358; cv=none; d=google.com; s=arc-20160816; b=BHKMmqT7+fsvyoAtJyV8Y48fr9YZi+MJ33dYkJfRRBKhuy9VBlZSnBe7qm5Fb3vi7u A7RqKBO7Bo2if/6DjHatTUkh8ZF/LK1vPf7EmI5aML2npWak2fZiBvxbtyNcIHohc9mF 9lZ0QWX3N3RQvq0UnTnuwMsQL/MBfLp1o98HhQ6n/CLpaOeGIJ9oSkqfKrTWsTmR7M9c LZYZhdrq6n8NzTrhUg+KCttYusZDfEJg9IjF0Vu4svyl5r4BBc3FHrpxqf8Wt4tBjI/g l+fyeo4ku/OfSeWvij0VHqFQTLY5kZXx6ITD0cbUn6Qb7NncgiBxG1myXSAw5t6oIMgv Bs2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=/X+8YB2j/JqfHhLDF3OiGnGgSAUQclrWd6VzxGsSk7I=; b=PsMf3T3/emE+mL2CtAQoSCwN9LuehX+NFHgNQKB2oXZM+Cm2cPGNhryH6rDxKj8KYc Msll9DyvKOdqnZYf8ru0T+UvRhitvM5PINAsZ1yPPiUeob/kwOKFko43btn4kLywMGLt kOATXGtOSWnJC3hh/ELjhN7zgaB6DQRq1K7L48H6tyV4gJwBkhMu2a2BJcfPWoam+V8n WZn9FfJnLtIVAcLrFpJJo+yLHKvQPTX7vbZqF7ZPA4T8yVGp2GCbbZOandmj+JR5js/J xO2ndS0Sk1jIgyDENd2x3y2xGMAyfLmCpfbF0dp95M0J9yl5YL9+BBwlq1DztBNaMKl5 l7UQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si5465913pgq.173.2019.05.25.07.59.02; Sat, 25 May 2019 07:59:18 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727140AbfEYO4w (ORCPT + 99 others); Sat, 25 May 2019 10:56:52 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39482 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727040AbfEYO4v (ORCPT ); Sat, 25 May 2019 10:56:51 -0400 Received: by mail-lj1-f196.google.com with SMTP id a10so327793ljf.6 for ; Sat, 25 May 2019 07:56:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/X+8YB2j/JqfHhLDF3OiGnGgSAUQclrWd6VzxGsSk7I=; b=q4YKfq0TDwPGDYMHayr42u12ZPj8r+7PE+tn0qyqty+hMU+YZAie6MGLipjyRh4Edt g59RYAfINSjt+Fvo0HEDjPGruQmngO+xPhQJKjSRFiYdnVn0QgqTkXAUSxrSyzHCiLD5 2cmq2L/WLvXdGdz5pLjWml0HWTlpTgj2v1TTJip9hxqjJ6dSV8n+/Ef3IOWCOL7Vm460 8wLYmN4munbJg3zEEhhvMpUeacd5ODrwMpNaVVUCr+qMv+ZSbp4PNmPwPBTs3Yv8C2Bw iQFB9sZ9tekn3mgXu7SIqy3FU8usKtylj29Mzc7zgk/sCt8dwp8U2Ni1untIXRSdwtbV OBkQ== X-Gm-Message-State: APjAAAXWeSnS41i3Ay7BA/pp5QZX0HGNeMg8oZ8eW/ceuvLKzhXEFkcP ReqCv5jF1/C2yyrAHA0Ahe6KKCKJ7qU+hn+KhLrytQ== X-Received: by 2002:a05:651c:1056:: with SMTP id x22mr34854028ljm.45.1558796210112; Sat, 25 May 2019 07:56:50 -0700 (PDT) MIME-Version: 1.0 References: <20190525073026.GA7114@hari-Inspiron-1545> In-Reply-To: <20190525073026.GA7114@hari-Inspiron-1545> From: Matteo Croce Date: Sat, 25 May 2019 16:56:14 +0200 Message-ID: Subject: Re: [PATCH] drm/omapdrm: fix warning PTR_ERR_OR_ZERO can be used To: Hariprasad Kelam , Tomi Valkeinen Cc: David Airlie , Daniel Vetter , Laurent Pinchart , Sebastian Reichel , dri-devel@lists.freedesktop.org, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 25, 2019 at 9:30 AM Hariprasad Kelam wrote: > > fix below warnings reported by coccicheck > Hi, a similar patch was nacked because it makes backports more difficult: https://lore.kernel.org/lkml/3dec4093-824e-b13d-d712-2dedd445a7b7@ti.com/ Tomi, what's your thought? -- Matteo Croce per aspera ad upstream