Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1712315ybl; Sun, 18 Aug 2019 08:53:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxX7mriFEd02HeHxt1MbPI7da5oy2mfnWp1fFk2rkc4S367HVpRIvBqAHRiduTk9k89juiq X-Received: by 2002:a17:90a:9903:: with SMTP id b3mr16577630pjp.80.1566143635281; Sun, 18 Aug 2019 08:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566143635; cv=none; d=google.com; s=arc-20160816; b=HLvCmpsYJMTTEbSVXn3Q6BIfGoriFJDnVJfmjCXnq9lURKY0Kr45fC9Xov4gPm14uH 6dXU4xJ8EDjsf+2jCOqUc5xTdXB3Ne39yr504yopuQRQiK6m2PXVRFYZv9LmGRevNaV6 onqgHUTuaftxhFGMHA8+ps1edEx3VY37kCJB344EAqDuJa5W2rqP75F2Rv80RJG0cWZE Um3hM/lcTJKSb3xij4R2rUy41TcikRIkSMc9+QQl+o0tkkSuD1Bj+Ty/t+aSi06xmFE1 jghAwlVaGI/yt8Ts+52S+As5yykmZisMiugnAMxyEooMaDjSML3yi2YFMXj/E7nLGUXn C0Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dkc5eB3ln4yNY3paIMNSiphNtNtlhTYF1yzUh/RCULM=; b=j+0FHQi9bx7OWHTnS8rj82bq7c1FsclXtWmtobD4/Q4X5kMkrTSctCkmJcf66AnaG3 RrK2HmOzlm9/AINwdXqjIE9b6z0b38022wNdrNKso4pkCSDMYeGztMyIN2n9etgGCGD7 OSN4LEft9Dl/67JgDz3txnziRoDe+NqD/4r+FyV8vc0Gnq9UXbhUmHbAXJDDgib4Ohku Hdmmn94czZOsGZojJNY1VekRcmx7JI59rhPNk/65ymFNRwMED38CyTgZvwZX9KaFVs1x AWuWFohGhpAOSCJqMsm0D9ljYSs2Orav1y6ss3K2YevT0gGxQemlSs1naUh1LWiPbUdU 5ipA== 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 r17si7958810pgr.277.2019.08.18.08.53.02; Sun, 18 Aug 2019 08:53:55 -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 S1726759AbfHRPv3 (ORCPT + 99 others); Sun, 18 Aug 2019 11:51:29 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:37357 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbfHRPv3 (ORCPT ); Sun, 18 Aug 2019 11:51:29 -0400 Received: from localhost.localdomain ([92.140.207.10]) by mwinf5d11 with ME id qfrR2000c0Dzhgk03frSjN; Sun, 18 Aug 2019 17:51:27 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 18 Aug 2019 17:51:27 +0200 X-ME-IP: 92.140.207.10 From: Christophe JAILLET To: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH] MIPS: Octeon: Fix a typo in #define OCTOEN_SERIAL_LEN Date: Sun, 18 Aug 2019 17:51:24 +0200 Message-Id: <20190818155124.3750-1-christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It should be OCTEON_SERIAL_LEN. Update the #define and use it accordingly Signed-off-by: Christophe JAILLET --- arch/mips/include/asm/octeon/octeon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h index 60481502826a..a2e2876357ce 100644 --- a/arch/mips/include/asm/octeon/octeon.h +++ b/arch/mips/include/asm/octeon/octeon.h @@ -51,7 +51,7 @@ extern void octeon_setup_delays(void); extern void octeon_io_clk_delay(unsigned long); #define OCTEON_ARGV_MAX_ARGS 64 -#define OCTOEN_SERIAL_LEN 20 +#define OCTEON_SERIAL_LEN 20 struct octeon_boot_descriptor { #ifdef __BIG_ENDIAN_BITFIELD @@ -102,7 +102,7 @@ struct octeon_boot_descriptor { uint16_t chip_type; uint8_t chip_rev_major; uint8_t chip_rev_minor; - char board_serial_number[OCTOEN_SERIAL_LEN]; + char board_serial_number[OCTEON_SERIAL_LEN]; uint8_t mac_addr_base[6]; uint8_t mac_addr_count; uint64_t cvmx_desc_vaddr; -- 2.20.1