Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3316889ybt; Mon, 22 Jun 2020 22:17:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEa5oRkdumyHKqsmHW20JB4tx/0tOsQ5vdUV7d3whZh5hTc1ul55jPxNENJ7plhaPL3dHl X-Received: by 2002:a17:906:f98e:: with SMTP id li14mr12349571ejb.174.1592889466995; Mon, 22 Jun 2020 22:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592889466; cv=none; d=google.com; s=arc-20160816; b=t/HRLwNSo/3XgGk1/m8CCQGHgxOR7p0ZFjg6hEFLWmeNvS/gtPingaM3wZ7ujGi8iz DUkuMAYaesPJxxv857VFDaT1YmWQX9+ihY5P1yvevoWzZZSOdYqmGB4QyduCJBLLFkx1 nUA0tWK+7i84Cm7EOhmQESDxweDizhp71O1v4tZFCn2P5J3FjNGp6F4kDsUKbFN2Yfq/ DZLjK1JtNJpN3ZgPRIDFqZu4/n+yASY80c57pXu+aK7BqIE4xq1EOUmE0PV02T+WOHFA y5bGGp6EWICWUlGYUzZeS5NjbNzv3y4GQxbDms8yMTd1pQY1K8eKSl55z4dNjd+Cf9UQ iQnw== 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:dkim-signature; bh=HzTUjRPxhEgtJpZSkWjXg3y2ucQ0p12YsNY/BwVBYp8=; b=G9M+pUHwDMqIZqwQ6wJPrT3m/MvUWNGIcPxEQwZezRX+xkgCJaBJsMll5XKBR0tW72 3VNPWAJYEgeQQrWn3csHXPQFjaxpixVMirTwpo7BETtkKuAFWNIRIiCQ3Uz2WAekl7Vs gIKzFM5lV/e0bU9N2OY5kLoSuL9f0hrJ/8sFLFDyIbEO908Oze9rQNQOuEo2rpQZIQls 2eowb3EBWv03t7WrpPC1M2Q3juSAY1y+8MqMt2xmLlQHfDrJ5LiczJv/aoeDA6jLxmgu oRTavH+NYjkmNlqLCI3QgpLV5AAhcQps8yA8OVkMyFuoLQMZ9nCvfheEhtJ6sPg2EWxF 3axw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oR2GDEnS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn1si14116002ejc.638.2020.06.22.22.17.24; Mon, 22 Jun 2020 22:17:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oR2GDEnS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730227AbgFWFNm (ORCPT + 99 others); Tue, 23 Jun 2020 01:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbgFWFNm (ORCPT ); Tue, 23 Jun 2020 01:13:42 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4C59C061573; Mon, 22 Jun 2020 22:13:41 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id 80so5912403qko.7; Mon, 22 Jun 2020 22:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HzTUjRPxhEgtJpZSkWjXg3y2ucQ0p12YsNY/BwVBYp8=; b=oR2GDEnSD0fMlAe6QCKGq9+ZOBwBnkUaO1r3hNEMhjduhOKPmy8xoHwjiyNbSjZmvP CMqWcHjO4NrhlMdMkGyJHcpPtEQwTj2BOZI/3X6VAj/ZFIb4QVOQfu2Tpkorn2X5y2xG LHjhjwXDXLg4qBt0Wd854NyA4TOykkz66EJM2nxGY2FITG9d0Gtgbd7oy9PNjy8Fm/j5 YZ7iMfbRd6ZAekr2EfqQwSd3Gss8TPZxQvxk/dEaVQ4zQlh0XwVQTssfD4gFxpNobhHF mkc9igDjsksoulDMPZ0H6Nell9/4jqilOR4kZu2WSJvmQKxBHQwRnIZgZgvMIqDttiPg /pbQ== 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=HzTUjRPxhEgtJpZSkWjXg3y2ucQ0p12YsNY/BwVBYp8=; b=nmRXGpXo7ccgOwSEgAFeUYzuwsAamR+dfp3DPTehygKZLHk/jaYfOXBT29ryRE/y7V xgGzwHCJbckHWWQJhwwbDs3Qen90eWfJ8HrnSTsv7D/oSjoTOxCiV6ED17zVf8x5+mdE emLgCMSd6RiKyZ1m1eJ2oj0ZlKJi/Z+tV8/NymSHOwJDcHv+0WCGsYxL6fRbc/PyNF/h C1zqXsSIOM/H87/RnxzlYdmxyptFIfpx9bAqx4AhVDnKOQICQ1jY3cQ4vyEZ4aJUNl3d pZ04HyKHVWo3uIlvMttJGJHdPXKDdkmOwkCbCCi6LDLDmmHWE77HaP2PLYwFGCpmkuay 8u3Q== X-Gm-Message-State: AOAM5332Z8MhQdRd+xsma/QXZm/a8jAICxOic4PNy15R0hcLrUYrE2+T EZ6jtYzasTa55kUcXBtZxAD49MmvgAqLncdp4uM= X-Received: by 2002:a37:6190:: with SMTP id v138mr16646545qkb.121.1592889221195; Mon, 22 Jun 2020 22:13:41 -0700 (PDT) MIME-Version: 1.0 References: <3eab889e-75b6-6287-a668-a2eaa509834c@web.de> In-Reply-To: <3eab889e-75b6-6287-a668-a2eaa509834c@web.de> From: Shengjiu Wang Date: Tue, 23 Jun 2020 13:13:30 +0800 Message-ID: Subject: Re: [PATCH] ASoC: fsl_mqs: Fix unchecked return value for clk_prepare_enable To: Markus Elfring Cc: Shengjiu Wang , Linux-ALSA , linuxppc-dev@lists.ozlabs.org, Timur Tabi , Xiubo Li , Takashi Iwai , kernel-janitors@vger.kernel.org, linux-kernel , Nicolin Chen , Mark Brown , Fabio Estevam 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 Tue, Jun 23, 2020 at 12:08 AM Markus Elfring wrote: > > > Fix unchecked return value for clk_prepare_enable. > > > > And because clk_prepare_enable and clk_disable_unprepare should > > check input clock parameter is NULL or not, then we don't need > > to check it before calling the function. > > I propose to split the adjustment of two function implementations > into separate update steps for a small patch series. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=625d3449788f85569096780592549d0340e9c0c7#n138 > > I suggest to improve the change descriptions accordingly. ok, will update the patches in v2. best regards wang shengjiu