Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4955264imm; Tue, 16 Oct 2018 02:53:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV61GcXiQiWyu6GB36kZD9/fU26BSwqCURRb04TI23r7yf9Fd0/s6olr9pST2sypJLpCCt4uU X-Received: by 2002:a17:902:6184:: with SMTP id u4-v6mr20478338plj.121.1539683603225; Tue, 16 Oct 2018 02:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539683603; cv=none; d=google.com; s=arc-20160816; b=pPIA5XDW43a+yX9x9n6Bc4WHh8256LK5LGy0byA/ky/+OD0vGuwyOodE+LiU680RIG +wcAoO+uJ9zjfG0mFfpF/mFw1M6P7uG6HlQQGns6QPTm0/+N9QnksGJtJ+4sQ800kJjR 8D/UjsPY51yEgcwEgtWkOiFt3Jog5k95GwCw6XCL+sF96wss8SUtX9hvq0N9B3h74iHR 4+1sSOlanlbIjg3tMHSHLfGSWwn4yg1euqr9Gom73NaVAdndC0U2WZWPJPt2bfBJGN7j +uVqR24R84Y+tMe06Xausieg3NxDZmXRiDUTKt7drFxj9JTeErDZ6ukhPnBRZYpzryKh H6+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hBZO2m2vZvZLnjrjlxg4RKjSbsvvDyfiSyX0RSlroWs=; b=PfPm9bifM3bDYTGlgpsfgINIw4lbRI6MskEDwjmq7/bU/EYtItkZck8P+aHjqrWWPO utIKuRJn2SvQgt/6icQ0DOy1LAJ2h71JuVUGNeUXFXNiOkgwBrKa4qNueutglYedkjYn 3EhwP5neHPtdfJ+BLHFwipRk+udJux+D5CpNKbYLfQleAORpnnir2XqUYrokY79ra5u+ hT0gbBMGOx+rr/eYg5HDVavIXczHqLUxpCnJ9SUNpB+RwcRHkZIuEQtRuYIAbOMfuf7N DRlbtQM9gk8qtqL5s3hHCHF8ZlBwYU8pU9pXqTrAsmDvFNqYuR3bnKLs1v9yh3B8MsjX 27+w== 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 p9-v6si12687562pls.378.2018.10.16.02.53.05; Tue, 16 Oct 2018 02:53:23 -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 S1727184AbeJPRlr (ORCPT + 99 others); Tue, 16 Oct 2018 13:41:47 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38736 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbeJPRlr (ORCPT ); Tue, 16 Oct 2018 13:41:47 -0400 Received: by mail-wm1-f67.google.com with SMTP id 193-v6so22500715wme.3 for ; Tue, 16 Oct 2018 02:52:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hBZO2m2vZvZLnjrjlxg4RKjSbsvvDyfiSyX0RSlroWs=; b=UHjZ+vb/c+4BDeHT1v3Cxd3IUuVcxj5E0D2Fvvu/NdH2T1D3bzS0Kvjy2Xs542d2cG tq3k0JMrr3wwf6MAafDU+ckbWiFd5wNV/vb9SysYbXmmoraMijwHfFADge8jqSFwjsey tje400U7GZO2HfKHsNs/VGl5wLHMfhqo8VH1uhISOMqN29M88wTW3O4+wRYShzqapyDe 8VV6eWAPNdtrx35+6Na9i2LZqGLukwp/HONkSqjv39b1rtev2lfUs8j1snktWmVQrTBy S4cdL1AdEoFp1zgM5Oc+XmRkwZwLg8IsvBvv/HbgK6D9U+PNa14UQb48KotQnY9zQ7/8 Mz8Q== X-Gm-Message-State: ABuFfogQHbhFUOtjRsKoKgJ364v327zKiH94HQGtMRiiS0eC8IOrTXGK 2knEmDp2Kn3NenifCVEnO56uKA== X-Received: by 2002:a1c:dac7:: with SMTP id r190-v6mr16555419wmg.137.1539683527911; Tue, 16 Oct 2018 02:52:07 -0700 (PDT) Received: from [192.168.1.13] ([90.168.169.92]) by smtp.gmail.com with ESMTPSA id y64-v6sm9833191wmg.28.2018.10.16.02.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 02:52:07 -0700 (PDT) Subject: Re: [PATCH 3/3] drivers: use probe_err function in obvious cases To: Andrzej Hajda , Greg Kroah-Hartman Cc: Bartlomiej Zolnierkiewicz , Marek Szyprowski , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andy.shevchenko@gmail.com, Mark Brown References: <20181016072244.1216-1-a.hajda@samsung.com> <20181016072244.1216-4-a.hajda@samsung.com> From: Javier Martinez Canillas Message-ID: Date: Tue, 16 Oct 2018 11:52:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20181016072244.1216-4-a.hajda@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Andrzej, On 10/16/2018 09:22 AM, Andrzej Hajda wrote: > The patch replaces obviously matching code with probe_err function. > There are many more places where probe_err could be used. > The patch shows how the new function should be used, and how it > improves the code. > > It was generated by cocci script (little bit dirty): > This is great! I guess the easier would be to split these by kernel releases, maybe patch #1 and #2 can land in one kernel release and then each subsystem can merge the changes for their drivers with the dependency already in place. Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat