From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51CA5C2B9F4 for ; Fri, 25 Jun 2021 07:30:01 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 004276141A for ; Fri, 25 Jun 2021 07:30:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 004276141A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwgHo-0003CD-61 for qemu-devel@archiver.kernel.org; Fri, 25 Jun 2021 03:30:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwgFj-000161-9H; Fri, 25 Jun 2021 03:27:51 -0400 Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]:44767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwgFh-0002Oa-JA; Fri, 25 Jun 2021 03:27:50 -0400 Received: by mail-yb1-xb34.google.com with SMTP id p133so3230802yba.11; Fri, 25 Jun 2021 00:27:47 -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:content-transfer-encoding; bh=E0xoGwezfGgWLPAImTv1P+lANGvvrm8bET+6s6UP04c=; b=iLU6u8TxyGvtxnknv2JrS0Zh12yh67HBY0ykcV68lCIyWfdRShuRfTXGhEfuDh6Y8s RrbGUDlPCKiORaRWlFuOtybP6sNeA4UdytwkjAeDNgby5HfWRCtY7DzxfT6Gjl3mnjdM t5w5ezh4rFl3q/GD3q2dD/10DPRTtUJNY6bID9kEcfUHWm/e7BX2PzAqiMX5pEgMfY2P FUUviEWnlSx5pCBU6NFDXPy1rvZYBoVkppfaCwzCUfUDY43Iij+lmDlisM7t94Dm7r3P 3244EUpABPF7UIz4F22t0y4n05ZrWNGpebnuk7woj+HP7DWmSGuI+rLp9dkti7FbzV5H 1PIg== 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:content-transfer-encoding; bh=E0xoGwezfGgWLPAImTv1P+lANGvvrm8bET+6s6UP04c=; b=Bk+uvsrRXbYroiCPhkV1uhDGCJlqkD2TW758v0eMbS0GKKjS8RbdNS1iZcfiUhEwnv vkM43e9HbDyrNMvFLzXqzAFX2fkMLfspZrnkr40zL4D6Brj61dlbnfMLxKnqmeCXy6Vp MwYTmyvxwTGoZzLUjYYj96qwjsrK1LWb5BZZJYxgs0ZrvoSg7JLvxjsgYC8teLn7zuLa Y08ZBbrkwMuW7+5LvqRmgmHGnpBBOYF2FsY/I4Mvy7m1Z5jq0oMbpzVsiJkUM5ZUS/g3 J/eaTdisi7sEFaYovoejAEL4LXGoPF/Ds+LIS8IrT8M5g4C+6OOdTsUGLboXJgAxC2zF 8qLg== X-Gm-Message-State: AOAM532Bjuz2+3+wudVZGpYyujkaQuKT9/SVjpCQZOPMlTklwsuDvYMk xLHiujEb9rHzzCPOGP/F+5H2Ot05Onko5Bzk0yU= X-Google-Smtp-Source: ABdhPJydVrsfi+HeRvL/9DxqyEHtCm7jWx4ET9lXekSXG5EbNS1Gwcn73nld784C/4rtm83EuhEv4q4M1wy43lokDCY= X-Received: by 2002:a25:b222:: with SMTP id i34mr10182398ybj.152.1624606067388; Fri, 25 Jun 2021 00:27:47 -0700 (PDT) MIME-Version: 1.0 References: <20210624142209.1193073-1-f4bug@amsat.org> <20210624142209.1193073-4-f4bug@amsat.org> In-Reply-To: <20210624142209.1193073-4-f4bug@amsat.org> From: Bin Meng Date: Fri, 25 Jun 2021 15:27:36 +0800 Message-ID: Subject: Re: [RFC PATCH 03/10] hw/sd: Move proto_name to SDProto structure To: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::b34; envelope-from=bmeng.cn@gmail.com; helo=mail-yb1-xb34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Qemu-block , Andrew Jeffery , Bin Meng , "qemu-devel@nongnu.org Developers" , Joel Stanley , =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, Jun 24, 2021 at 10:24 PM Philippe Mathieu-Daud=C3=A9 wrote: > > Introduce a new structure to hold the bus protocol specific > fields: SDProto. The first field is the protocol name. > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > hw/sd/sd.c | 28 ++++++++++++++++++++-------- > 1 file changed, 20 insertions(+), 8 deletions(-) > Reviewed-by: Bin Meng