Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp732387rdg; Wed, 11 Oct 2023 04:10:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpgp+1p7tP/jK7XVVesL3bBHFGvx7yunfN5CYSJjckQCNiE/cDKMmP3BcvxzCx3qFbslGB X-Received: by 2002:a05:6358:7245:b0:134:ec9d:ef18 with SMTP id i5-20020a056358724500b00134ec9def18mr26147131rwa.28.1697022636129; Wed, 11 Oct 2023 04:10:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697022636; cv=none; d=google.com; s=arc-20160816; b=Q+I2huNKG0nJtXJuWUWWjC5KaZODGEq41UeAWKeOEEY0NBfJcATh+NY3wMM7nht6mQ gMi2zp4plH1mLtNeMp23ntVIBUZGBHkUwYlTwslzBg82F0xncuR/Mkza9rjO83191gBg R5v4olXC84psphuWbEIHimIQxas4nBC/6ZwBxvcdN9Y6VCoLic+ayZZ3Vyuy1cX3AHo1 kc5EWZzDpzY8swzUgiP8es7EEs+YrRjLl0pKsiVqYDcDherw7TQTjUYr+aij3OwNOFmx qAyBqOgnr3GDuFNWSPVKOoM57dai5SkkjKE7BmeA2tda8n2e+stu3/gL9G13+7jwjMXB 9oHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=27MFUImWfCszP0ATU7YdFZr73cPecX961iqN+5AGcHc=; fh=Zi+DalhA95FJDS2mtczO5C+F+mJmPuIkOUStYBT/adY=; b=oCbmpEpD2F9oF4gRhGFV//lbXmqZpL0EoAKPh38dzjmrQOydwgw9elHsQIerkAkZFq dPvhJcBpIrotB4LfiolotWHGaGU6CX9V5m5ML56NK2ABOtE6O0izr6lE22Yrc3ynBiyM MWNbvOxmNFvDN7y85qXzwhKj60GNMT8jMbEs6mUMDO3vo77ccPhCTKUvl17FgPuRxmC4 xyz8KYn4RwDO3UnNf+aXvxICmVcrOrAayaBfWxTkhS5NUoEdvYTsr5EaP8gy8oyPCiwG Yqcu4ju7U1eyoAbIqwjjiXSL6oBC/2dUZCQ+0XspCZb3P+AcnSfhBt8JFM6YNoj/f8KP XKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kIljUxRi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h22-20020aa786d6000000b006933e5559a3si11147499pfo.310.2023.10.11.04.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:10:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kIljUxRi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2F01181B93C2; Wed, 11 Oct 2023 04:10:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345956AbjJKLK0 (ORCPT + 99 others); Wed, 11 Oct 2023 07:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234809AbjJKLKH (ORCPT ); Wed, 11 Oct 2023 07:10:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2498115; Wed, 11 Oct 2023 04:09:39 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E4DC433C9; Wed, 11 Oct 2023 11:09:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697022576; bh=3kH+pQQjIkIDI8ifN14G+a5TCPOKhClhNMLfZIwqfOE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kIljUxRiUIiiOVuTlucAyG9/v2Ua8NWK58vO/XKKWqu/tg5hvowuiyqFHMrxxmCNc aYaatK3Zvn3HpNKOM5fN7TTeJ0AL4TtoZKtZBWKpHbqVdDYTpPS6Iruov0w0005L64 7WHkBnQPRK8XLpGo/xydt7Ev9lDSY/Mtpq7kY/rzD5QYqpiSYj8hiJKYE9erzccIN2 JnmGMwt4aL6ONjBzXPf2lcN6XIBisQ4HIips3os17nib2tv/BOR7mjIgItDDW6ER+b WjXyPNt09GpypWTmr3vitG5r6gulvr963IfmRf5r9or4uxzAntJZAs3xYW8MQqAZPM ZFt+ZW1PmR7Zw== Message-ID: <79b0f043-2dcf-49cc-b52a-e1ab21554610@kernel.org> Date: Wed, 11 Oct 2023 20:09:34 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] ata: sata_mv: aspeed: fix value check in mv_platform_probe() Content-Language: en-US To: Ma Ke Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231010122916.4080132-1-make_ruc2021@163.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20231010122916.4080132-1-make_ruc2021@163.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 04:10:35 -0700 (PDT) On 10/10/23 21:29, Ma Ke wrote: > In mv_platform_probe(), check the return value of clk_prepare_enable() > and return the error code if clk_prepare_enable() returns an > unexpected value. > > Signed-off-by: Ma Ke Applied to for-6.7. Thanks ! -- Damien Le Moal Western Digital Research