Message ID | 20231021101238.81466-1-bergh.jonathan@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp214051vqx; Sat, 21 Oct 2023 03:14:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEScUlKURXTzWYRpZNkZzfQT8ujqzS6jJeNS0/TXbZd7ohm0kNEibCXVifoEpXIE2OUvmJ4 X-Received: by 2002:a05:6a20:1592:b0:17a:eddb:acc2 with SMTP id h18-20020a056a20159200b0017aeddbacc2mr3389070pzj.46.1697883297331; Sat, 21 Oct 2023 03:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697883297; cv=none; d=google.com; s=arc-20160816; b=x2B4gEIyIvzikh1iwYiwO1J31bLiggSB3u1kPW0/DUKtYWxXKPmxbm3vJDdKYovVlY xYO/9+N2XkOXH68V/Rjct8TGjjlvIuhY9bt+QIuVoadtkuNfE7fF7fR/EaLPEhdaVco2 LAjxu2KvbPmlWtQD9/ldrqyG2OSKEOqE4l61NZmVVoOt9Jyg0BMoymLPQfHoIxhrTGCE pmRyF2cUBWVenPgLSzzMdo1d9yRPUNN71dq2NaODpRhgN4Sn9dZcG7aN51THhz2jGy25 CH4AsM09LeiaVwODmG91PvOLD5fuZ21C19Xc7wZlHXSfWwN4abq/n4uObs01PuRewp3T 4RTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gbhtOmOMlrSXq3cWZFLEsrn0khhJxxkh0d58gwvHYGQ=; fh=a/s45YuhTFF9HDl6pMrSzwKLljh7BT0Fj9EfJNxFsCc=; b=cGmoZQ/XR9nAhsXmoBw63NpHEVgWl22dZwcNP+M9zxc+8kfLgYq+AKKs1XyioT0Kf3 Sj+bYrj7O/b2ZMx0D3ufd0c2vaAVZlGh364g5UhpdcIyRJRa46ZJHUiH2+zrMruqzVkV 8vMt95lRCDEIcHOfoORiWne6LcXDLLR2utmtz2lahpWFwbNTVST9gNLbpvdMsSOyLkfV F4rj6C0WIJNJKGMMMcCLYKCRNWGz282Kg6ND2khxxcmU15KBAE2Fcrgqq5XIv/3ZwPUa SkLl7M2HCS/8Fw7YVbPTuR8exDU9fWjQ4ge5TAiA2m6JtbhIi3+k4N6T9npoq9D5swHy Gq5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IKj2Y9Re; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h7-20020a17090adb8700b0027da14d1513si3241966pjv.124.2023.10.21.03.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IKj2Y9Re; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9F4B18028FEC; Sat, 21 Oct 2023 03:14:56 -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 S230216AbjJUKOw (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Sat, 21 Oct 2023 06:14:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjJUKOu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 21 Oct 2023 06:14:50 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE5CB1BF for <linux-kernel@vger.kernel.org>; Sat, 21 Oct 2023 03:14:47 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-507c78d258fso2314716e87.2 for <linux-kernel@vger.kernel.org>; Sat, 21 Oct 2023 03:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697883286; x=1698488086; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gbhtOmOMlrSXq3cWZFLEsrn0khhJxxkh0d58gwvHYGQ=; b=IKj2Y9ReeXhxw13GaQrnALy3YOg0Yfz0Wbpu10GCxv5+m/h56ItxzQyW3EWYnAL5dy FMCehLyXc95YXWEv5owuTRiIiqcBG1uYQdH0fKIu7ZdwvjPrDRWsdvKh42v8TGFOLXxb MW5AVAFnN/tpFG50QlJQi2ZpDakqI2qZuuQ3mlYSPd25y/rKGgakKAzXZ67AL4XgEwSL uozW0+xh6Kgfl0qAlGHe+/NZ4N4OLdK0NX+PB7zZSrE35l2Wf24zXVniANerWns0YCQ9 PN4in+D6lCKdSByz3fWHKL3bqDUchWWax4FTGkCVDEGFy1Lfvjxg+25lSTASARVcCewm iqOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697883286; x=1698488086; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gbhtOmOMlrSXq3cWZFLEsrn0khhJxxkh0d58gwvHYGQ=; b=UCzgxsr9kOb4sKqffxDMoJrd3/lua+wln6KIyuhrYJi9CUNPGmV7lkyu+09o4UFvXY DhkSG0wgO8O58ZsbD2zgV7+sdDFQHr4yKLHmebilVEzaDqoF8x7ZvDA638yBG80goniQ UjDSg619p4mqFbp1aPPg8mY95t7+ptD51xuv0NfL8UZivuRkn/WNuWKizEa2Lx++dXWI ZkUcVtOqm2e2JMqEac6UP1jYWSrtlAaOsN8dLQ+Cq/6qSDYFjyO+Dou08NxIXOQDHR+w SjdLgRsdPeg2utIbtk557kusQeQ0Q/h31RanmMFbPlqxAJ2SBnNMJVfOnXyT0G8i9yZQ sI/g== X-Gm-Message-State: AOJu0YxJ39o1hiouXn8rTaOCD1JXAz+GxGlQJBVHnaC//DWr+8PvQ0FS KfIweK/GrTDbDiTRDfpD712jqyp9g60= X-Received: by 2002:a19:644d:0:b0:507:9618:dc1f with SMTP id b13-20020a19644d000000b005079618dc1fmr2763831lfj.69.1697883285675; Sat, 21 Oct 2023 03:14:45 -0700 (PDT) Received: from HP-ENVY-Notebook.lan (81-229-94-10-no68.tbcn.telia.com. [81.229.94.10]) by smtp.googlemail.com with ESMTPSA id d18-20020a056512369200b005007e7211f7sm803114lfs.21.2023.10.21.03.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:14:44 -0700 (PDT) From: Jonathan Bergh <bergh.jonathan@gmail.com> To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Jonathan Bergh <bergh.jonathan@gmail.com> Subject: [PATCH v3 0/7] staging: octeon: Fix warnings due to introduction of new typedefs Date: Sat, 21 Oct 2023 12:12:31 +0200 Message-Id: <20231021101238.81466-1-bergh.jonathan@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> 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]); Sat, 21 Oct 2023 03:14:56 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780321293673568339 X-GMAIL-MSGID: 1780359676427200771 |
Series |
staging: octeon: Fix warnings due to introduction of new typedefs
|
|
Message
Jonathan Bergh
Oct. 21, 2023, 10:12 a.m. UTC
This patch series fixes (removes) the introduction of several new typedefs for enums and structs in the octeon driver. First the declarations are fixed and then implementations are updated to remove references to the old typedefs. Changelog: * v1 -> v2: Fix breaking change spread across multiple patches * v2 -> v3: Break changes up into individual patches for each removed typedef Jonathan Bergh (7): staging: octeon: Fix introduction of new enum typedef cvmx_spi_mode_t in octeon staging: octeon: Fix up introduction of new typedef cvmx_helper_interface_mode_t in octeon staging: octeon: Fix introduction of following new typedef cvmx_pow_wait_t in octeon staging: octeon: Fix up introduction of new typedef cvmx_pko_lock_t in octeon staging: octeon: Fix introduction of new typedef cvmx_pko_status_t in octeon staging: octeon: Fix introduction of new typedef cvmx_pip_port_status_t in octeon staging: octeon: Fix introduction of new typedef cvmx_pko_port_status_t in octeon driver drivers/staging/octeon/ethernet.c | 6 ++-- drivers/staging/octeon/octeon-stubs.h | 48 +++++++++++++-------------- 2 files changed, 27 insertions(+), 27 deletions(-)
Comments
On Sat, Oct 21, 2023 at 12:12:31PM +0200, Jonathan Bergh wrote: > This patch series fixes (removes) the introduction of several new typedefs > for enums and structs in the octeon driver. First the declarations are > fixed and then implementations are updated to remove references to the > old typedefs. > > Changelog: > * v1 -> v2: Fix breaking change spread across multiple patches > * v2 -> v3: Break changes up into individual patches for each removed > typedef Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - Your patch did not apply to any known trees that Greg is in control of. Possibly this is because you made it against Linus's tree, not the linux-next tree, which is where all of the development for the next version of the kernel is at. Please refresh your patch against the linux-next tree, or even better yet, the development tree specified in the MAINTAINERS file for the subsystem you are submitting a patch for, and resend it. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot
On Sat, Oct 21, 2023 at 12:12:31PM +0200, Jonathan Bergh wrote: > This patch series fixes (removes) the introduction of several new typedefs > for enums and structs in the octeon driver. First the declarations are > fixed and then implementations are updated to remove references to the > old typedefs. > > Changelog: > * v1 -> v2: Fix breaking change spread across multiple patches > * v2 -> v3: Break changes up into individual patches for each removed > typedef > > Jonathan Bergh (7): > staging: octeon: Fix introduction of new enum typedef cvmx_spi_mode_t > in octeon > staging: octeon: Fix up introduction of new typedef > cvmx_helper_interface_mode_t in octeon > staging: octeon: Fix introduction of following new typedef > cvmx_pow_wait_t in octeon > staging: octeon: Fix up introduction of new typedef cvmx_pko_lock_t in > octeon > staging: octeon: Fix introduction of new typedef cvmx_pko_status_t in > octeon > staging: octeon: Fix introduction of new typedef > cvmx_pip_port_status_t in octeon > staging: octeon: Fix introduction of new typedef > cvmx_pko_port_status_t in octeon driver > > drivers/staging/octeon/ethernet.c | 6 ++-- > drivers/staging/octeon/octeon-stubs.h | 48 +++++++++++++-------------- Please don't change the stubs without change the arch/ code. regards, dan carpenter
On Mon, Oct 23, 2023 at 05:41:38PM +0300, Dan Carpenter wrote: > On Sat, Oct 21, 2023 at 12:12:31PM +0200, Jonathan Bergh wrote: > > This patch series fixes (removes) the introduction of several new typedefs > > for enums and structs in the octeon driver. First the declarations are > > fixed and then implementations are updated to remove references to the > > old typedefs. > > > > Changelog: > > * v1 -> v2: Fix breaking change spread across multiple patches > > * v2 -> v3: Break changes up into individual patches for each removed > > typedef > > > > Jonathan Bergh (7): > > staging: octeon: Fix introduction of new enum typedef cvmx_spi_mode_t > > in octeon > > staging: octeon: Fix up introduction of new typedef > > cvmx_helper_interface_mode_t in octeon > > staging: octeon: Fix introduction of following new typedef > > cvmx_pow_wait_t in octeon > > staging: octeon: Fix up introduction of new typedef cvmx_pko_lock_t in > > octeon > > staging: octeon: Fix introduction of new typedef cvmx_pko_status_t in > > octeon > > staging: octeon: Fix introduction of new typedef > > cvmx_pip_port_status_t in octeon > > staging: octeon: Fix introduction of new typedef > > cvmx_pko_port_status_t in octeon driver > > > > drivers/staging/octeon/ethernet.c | 6 ++-- > > drivers/staging/octeon/octeon-stubs.h | 48 +++++++++++++-------------- Hi > Please don't change the stubs without change the arch/ code. My tree was out of date, so these changes had already actually been applied by basically the same patches (ie removing these typedefs) around 17/09 (Sep). > regards, > dan carpenter >