Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4113223rwl; Sun, 2 Apr 2023 23:21:09 -0700 (PDT) X-Google-Smtp-Source: AKy350YZwHttOq57piQuoLSXXJRPfEzDx1oW2+PvnBUOkHY0P23Th2x/nM6Bgqxb8mVQDRKq0TwG X-Received: by 2002:a17:90b:4f8c:b0:23f:a810:c07b with SMTP id qe12-20020a17090b4f8c00b0023fa810c07bmr37970110pjb.43.1680502869501; Sun, 02 Apr 2023 23:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680502869; cv=none; d=google.com; s=arc-20160816; b=HKNlWaWefSOqUllCaa4Z10d9Z8/9IdbNVTFQFAVj4K7AZ+y9gwZTmguFfXzTD2t9fu ORuxjD1bYwuyunNinhw0zDIDoOBOeJH6qlrVNgCoCe5WWRXyIl+bvstqP4ka7ipL8r9r YOzlTsRAgbBt9v+l+H3qWYixbH5Fqg8Fbg1csTGBXvb1gJMYxq90YeMwIoMHqMQdEF7B IzFO5wnJKlPodNL5v2O8HpMWv4C+JwirSsjJ0uGE97/Gr5hjGcc7jMp4BWIRo8NqRwEN IfHZa1ouI3byPIWhP8ap8Mq3+c0S+24vfPkhkhd2eGcJK/KlBA7TaPeyo45QuUHSYkup kyWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sPU+k5Dii+Pl5dwm1iVz6jH2SOAHhEPucNsoSGY5PvI=; b=ZZFRI4quK4ZFuR9cERg4lL9m7aTd8E/F+0nlGQCZq8eUAsl7R1hlJpVzcT9KCTInH0 1ovQH+SrQYmNkiYUODH5ZDt/Z7sWYA54MG5nyi65BKWFKEoiAqUbdf/1MaLk6aiEJXM7 YfrVW7CPHs2QiKoL2EEJVrWonPnSHf8xTqKI/cZlHQzR0wSp1L2HvN1rHyP/5lvWKK2m IwDiAqqaHJWAUNUcewVpPQ01vIbJh0k1Rb/NIaB/iZat4aT3IP35E+iBWc6YCYZLbw7T qehzfvlA1TfMUeWQ7PgDGFTWlGPXEa6L41i3otUyfcVG5n3aZ/BECMTR+9CA/9e/aDTG agIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PRe6QUC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i21-20020a632215000000b0050fad5c9f36si7242591pgi.354.2023.04.02.23.20.58; Sun, 02 Apr 2023 23:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PRe6QUC3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbjDCGR6 (ORCPT + 99 others); Mon, 3 Apr 2023 02:17:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjDCGR5 (ORCPT ); Mon, 3 Apr 2023 02:17:57 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B38D8 for ; Sun, 2 Apr 2023 23:17:56 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id cn12so112795224edb.4 for ; Sun, 02 Apr 2023 23:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680502674; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sPU+k5Dii+Pl5dwm1iVz6jH2SOAHhEPucNsoSGY5PvI=; b=PRe6QUC3nR/2OZdR9bXdXcRvsn08hKPaw8sdWaDoplmtW9vqt5OYLYcyO38rKrL/Dn nU4Sw1lGkmHh76GjuHzgUycbrA9GkQoSv9Kl5HLTjsNgTUjHoT+oVlEv4dP9WzxOYl6R 5bO6MExFkFUiEC77LcZsntbHEeVpArDeuekF47tZHrgZ6ok+xbVLiPlWzSX/7oKlnu98 VIPnsdMK5TzEw5P7J5KGX2xXTdTqv4VOEcmRxyN8PJ8GcWRT7KxXRzvkFk5ZoM4kHC0X 15fSd9ecTmlp5wm0mSzdVC8vDPX61hybelW+V/YLEi8g95WCws5a7BS3YLjG747Oa/cd O6Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680502674; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sPU+k5Dii+Pl5dwm1iVz6jH2SOAHhEPucNsoSGY5PvI=; b=wvGFa4zlbFZphCVB/ivRHqwEB9uUXy3LAfB/v8S3+dWrfsIQKo9RryBMe6b60tOILL YCnQKWKseNeA01tJ+pQbbjwsbm7cpZc79Oaspw/T+kNRyASP6mpQNEtm4XsMKxg7IQwQ yeHZ3ZU6w8HQwGZCO6BV4Tbpva1wGYHgYamTvqMqy7WMfdPgy2/NENo+o/QFlaYntma9 6ajsV79lCsPs6amc5nKoGkOXPqqAwbbcO9Jdx3fcEMs8V95SNwpYvQ9iEkeskyrKObDK Eq5nmVJ8mHTlamcQRM6jxnpTpFipto/PBu1Sv6SrByquRxtaLoMEa4Fpmdik+BQ7DuzK 7r6w== X-Gm-Message-State: AAQBX9eHdvOXIQO2mbu3+R+ldspEjH+C8IzINY6+F1JAj2JoKB3kt38N 5YCpKIELWxIELTJ6fwQW8Fw= X-Received: by 2002:a05:6402:2693:b0:4bc:edde:150d with SMTP id w19-20020a056402269300b004bcedde150dmr16404444edd.0.1680502674566; Sun, 02 Apr 2023 23:17:54 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id f24-20020a50a6d8000000b004acbda55f6bsm4108176edc.27.2023.04.02.23.17.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 23:17:54 -0700 (PDT) Date: Mon, 3 Apr 2023 09:17:51 +0300 From: Dan Carpenter To: Dalvin-Ehinoma Noah Aiguobas Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: octeon: remove typedef declaration for cvmx_fau_op_size Message-ID: References: <20230401212002.GA30519@koolguy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230401212002.GA30519@koolguy> X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Sat, Apr 01, 2023 at 11:20:02PM +0200, Dalvin-Ehinoma Noah Aiguobas wrote: > Fix checkpatch.pl warning: do not add new typedefs in > drivers/staging/octeon/octeon-stubs.h:216 > > Signed-off-by: Dalvin-Ehinoma Noah Aiguobas > --- > drivers/staging/octeon/octeon-stubs.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h > index 3e7b92cd2e35..cf560c321c92 100644 > --- a/drivers/staging/octeon/octeon-stubs.h > +++ b/drivers/staging/octeon/octeon-stubs.h > @@ -213,12 +213,12 @@ enum cvmx_fau_op_size { > CVMX_FAU_OP_SIZE_64 = 3 > }; > > -typedef enum { > +enum cvmx_spi_mode_t { The _t means typedef and it isn't a typedef now. Change the name to "cvmx_spi_mode". > CVMX_SPI_MODE_UNKNOWN = 0, > CVMX_SPI_MODE_TX_HALFPLEX = 1, > CVMX_SPI_MODE_RX_HALFPLEX = 2, > CVMX_SPI_MODE_DUPLEX = 3 > -} cvmx_spi_mode_t; > +}; regards, dan carpenter