Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1083271yba; Wed, 24 Apr 2019 14:48:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVi0YW9kRBgJqhKKL6Hk7nUSRyHk8+TtM+iei0OzDzXy1DqyzKNsTylo7sQzj4q2uphvbb X-Received: by 2002:a17:902:4643:: with SMTP id o61mr11480541pld.249.1556142487028; Wed, 24 Apr 2019 14:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556142487; cv=none; d=google.com; s=arc-20160816; b=XJdDNVQVjbgbRCoYVgxmGuwoh+iZmvxo2wIDhY5EEiArfFmBFws1LlEf0gkgpH00dH KaJZJQ/BuQwf4yxM7YLJrsmw+JiBKMMS7ZYyumSc0ccIFptoD+08LnFUdrFPquDAnnRR +2rFLfvdEAlwfjDVtNrAoJV/SR999HAgGWb0DAC3F2gzcbqKYUvNt2l28JnCRk7H9Phv jtHWEjS35EDmFsRvW41Kqhpr81VLcRUpaiU+4V94EFOqHw41j3nVG7KYdbRUKgCmwXTO K0Y1/Wr5ymDKmfrjBDRQAn1wCAwBDBwsppTARiCCZD749TWQCTpaoV5ZwITcv+WTkEEb iubg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=neMQrTRDP49I7MfAKdj5OVf87R2ZpEArUC5DmJgxtis=; b=SR1tiNqdIa2lSq3IcoM4J0zl+0OfUR3KLO3pCWJNDaDuta1TBk8mpqtyu7Wq74A69l 93MHgu83uEp0ai27zK4GSA+T1B1bn+IbM4w7GDCbe1IpAs0Gtca/jAUVHbSFof1A3ya6 H0E4U2t47/KIx4JeeSrTXqaAJv1oG9kdZ36Aq9pTOsOebi0qo0VXH2WOg2WMEdnQm4gU IHhyyMFHCFdBqZXBOMcL1ZMIbLtJpZCXBKtFrKYtjCA6dw+TSi6T5f+9fsJZuDkbhln9 b63Yb6JRu7OUd0N+vJD8NaEuhHhnqU/+T8YNT9/sH9AWQqhhZ1PZrTvdbcriIT3gabXL V1ng== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d186si20966201pfa.218.2019.04.24.14.47.51; Wed, 24 Apr 2019 14:48:07 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731213AbfDXPbr (ORCPT + 99 others); Wed, 24 Apr 2019 11:31:47 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:2939 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730792AbfDXPbr (ORCPT ); Wed, 24 Apr 2019 11:31:47 -0400 Received: from DGGEMM405-HUB.china.huawei.com (unknown [172.30.72.55]) by Forcepoint Email with ESMTP id C32F62A72E9C2319A846; Wed, 24 Apr 2019 23:31:43 +0800 (CST) Received: from DGGEMM421-HUB.china.huawei.com (10.1.198.38) by DGGEMM405-HUB.china.huawei.com (10.3.20.213) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 24 Apr 2019 23:31:25 +0800 Received: from DGGEMM507-MBX.china.huawei.com ([169.254.1.118]) by dggemm421-hub.china.huawei.com ([10.1.198.38]) with mapi id 14.03.0415.000; Wed, 24 Apr 2019 23:31:23 +0800 From: Nixiaoming To: Stephen Boyd , "jbrunet@baylibre.com" , "mojha@codeaurora.org" , "mturquette@baylibre.com" , "sboyd@codeaurora.org" , "soren.brinkmann@xilinx.com" CC: "linux-clk@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3 1/2] clk:Fix divide-by-zero in divider_ro_round_rate_parent Thread-Topic: [PATCH v3 1/2] clk:Fix divide-by-zero in divider_ro_round_rate_parent Thread-Index: AQHU5v/EB8Y/TuEMr0agd+bsHqWgi6ZJ+iAAgAF14SA= Date: Wed, 24 Apr 2019 15:31:23 +0000 Message-ID: References: <1553954090-65470-1-git-send-email-nixiaoming@huawei.com> <155605990288.15276.7089726827167650203@swboyd.mtv.corp.google.com> In-Reply-To: <155605990288.15276.7089726827167650203@swboyd.mtv.corp.google.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.57.88.168] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCBBcHIgMjQsIDIwMTkgYXQgNjo1MiBBTSBTdGVwaGVuIEJveWQgPHNib3lkQGtlcm5l bC5vcmc+IHdyb3RlOg0KPlF1b3Rpbmcgbml4aWFvbWluZyAoMjAxOS0wMy0zMCAwNjo1NDo1MCkN Cj4+IEluIHRoZSBmdW5jdGlvbiBkaXZpZGVyX3JlY2FsY19yYXRlKCkgVGhlIGp1ZGdtZW50IG9m IHRoZSByZXR1cm4gdmFsdWUgb2YNCj4+IF9nZXRfZGl2KCkgaW5kaWNhdGVzIHRoYXQgdGhlIHJl dHVybiB2YWx1ZSBvZiBfZ2V0X2RpdigpIGNhbiBiZSAwLg0KPg0KPldoZW4gZG9lcyBfZ2V0X2Rp digpIHJldHVybiAwPyBJdCBjYW4ndCBiZSBDTEtfRElWSURFUl9NQVhfQVRfWkVSTyBvcg0KPkNM S19ESVZJREVSX1BP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