Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4016947ybg; Tue, 29 Oct 2019 00:30:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbd8nnYOWC7P88vCiyg38u1T1P077St0HQd3DgNJ5h7/HAHD3i5a3Yz+7d9FhvTSdPEcXD X-Received: by 2002:a17:906:e8d:: with SMTP id p13mr1794004ejf.159.1572334237119; Tue, 29 Oct 2019 00:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572334237; cv=none; d=google.com; s=arc-20160816; b=Bi3bHcAugJ7DuTA13lj7Td8xV4NuIUAJ5N4Rhqk4hDYncfH0UdRqI+xbEa6ce0n5gw frkInXG5mCG1joQT0vwIHpIqzYDmHeQABgN/9htuFACBA4fsR6DfEhaDYOXlWLBzlSqP QyvanUK2psuAkga12Gjp38RrdQUs9+esbQKBBMULFC1OD2XPKpyZ0E6U1o6GY5OyImLp BBl7HwIKI1ojs+CiQaWgRK7ggag/Letg0EvIMPuIRfA0JeoW3ldyrji8H9Qx+8fDTij8 cxIq7HsyLOwFFXDkTgbywBA0IPeprCxNPuIm5K/NsSLHqSbjABkzbrJzAnszyqIwEJPU OJIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=/DAQ5DcpSD1LToSRzeAfD9E0w5MV83UQkDePDhfvZOY=; b=JtuFW0UEFgNqzuEiNyqReNaud+QKuiG6dcL3flH2vl6GUhgWlKlCYPKS2DpUfCefen SwbYTXB9KovWXjdkXXi1HSH15cG4Rzj+dethbZgrmMpb65g0dYj9pFE1aWbiUijbSOE3 YVjRh7InEC/W+X+GPHuZ5xB8GhG2R+9WombeI7rOlDEDD5Wo8jhkBZDmNaNRZddJnnL2 sF+TaHdqwm3mRZP+5+o8g4tRZlDW/rhcQUJySMOVo9+jaIe6c8fAP2dIzSpg5qe1I6+6 CR11t39+CObNd5U6NQ6mL5PCUceJQ1pZIsImDCG8gGIsss1xbzepFt7DOxZ7RwVE7pPo nIvQ== 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 w47si655352edd.326.2019.10.29.00.30.13; Tue, 29 Oct 2019 00:30:37 -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 S1727995AbfJ2GwU (ORCPT + 99 others); Tue, 29 Oct 2019 02:52:20 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:35387 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbfJ2GwT (ORCPT ); Tue, 29 Oct 2019 02:52:19 -0400 X-IronPort-AV: E=Sophos;i="5.68,243,1569276000"; d="scan'208";a="324944045" Received: from ppp-seco11pareq2-46-193-149-47.wb.wifirst.net (HELO hadrien) ([46.193.149.47]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Oct 2019 07:52:16 +0100 Date: Tue, 29 Oct 2019 07:52:15 +0100 (CET) From: Julia Lawall X-X-Sender: julia@hadrien To: Gabriela Bittencourt cc: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org, kim.jamie.bradley@gmail.com, nishkadg.linux@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org Subject: Re: [Outreachy kernel] [PATCH 3/5] staging: rts5208: Eliminate the use of Camel Case in file xd.c In-Reply-To: <20191029014316.6452-4-gabrielabittencourt00@gmail.com> Message-ID: References: <20191029014316.6452-1-gabrielabittencourt00@gmail.com> <20191029014316.6452-4-gabrielabittencourt00@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Oct 2019, Gabriela Bittencourt wrote: > Cleans up checks of "Avoid CamelCase" in file xd.c > > Signed-off-by: Gabriela Bittencourt > --- > drivers/staging/rts5208/xd.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c > index f3dc96a4c59d..0f369935fb6c 100644 > --- a/drivers/staging/rts5208/xd.c > +++ b/drivers/staging/rts5208/xd.c > @@ -630,13 +630,13 @@ static int reset_xd(struct rtsx_chip *chip) > xd_card->zone_cnt = 32; > xd_card->capacity = 1024000; > break; > - case xD_1G_X8_512: > + case XD_1G_X8_512: This looks wrong. You have changed the uses of these names, but their definitions don't get changed until patch number 4. So this patch will break the build. Please redo the whole series so that definitions and uses are changed in the same patch. Be sure that you can compile the code after applying each patch. julia > XD_PAGE_512(xd_card); > xd_card->addr_cycle = 4; > xd_card->zone_cnt = 64; > xd_card->capacity = 2048000; > break; > - case xD_2G_X8_512: > + case XD_2G_X8_512: > XD_PAGE_512(xd_card); > xd_card->addr_cycle = 4; > xd_card->zone_cnt = 128; > @@ -669,10 +669,10 @@ static int reset_xd(struct rtsx_chip *chip) > return STATUS_FAIL; > } > > - retval = xd_read_id(chip, READ_xD_ID, id_buf, 4); > + retval = xd_read_id(chip, READ_XD_ID, id_buf, 4); > if (retval != STATUS_SUCCESS) > return STATUS_FAIL; > - dev_dbg(rtsx_dev(chip), "READ_xD_ID: 0x%x 0x%x 0x%x 0x%x\n", > + dev_dbg(rtsx_dev(chip), "READ_XD_ID: 0x%x 0x%x 0x%x 0x%x\n", > id_buf[0], id_buf[1], id_buf[2], id_buf[3]); > if (id_buf[2] != XD_ID_CODE) > return STATUS_FAIL; > -- > 2.20.1 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20191029014316.6452-4-gabrielabittencourt00%40gmail.com. >