Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp99472lqc; Thu, 7 Mar 2024 11:23:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8BV73F65YCBIpn5H2ZlgXmV7onssVzW1tfHXpqvcPXMHR0uBFxweTldtXwyqHhw1cRcbtMZlxao6sdcGHGAbN5JEUvVhYgm/0fgj/mQ== X-Google-Smtp-Source: AGHT+IGwL/Yz3OaifcaSMBwT+7Ui4lSVg4F+4we6eXsYHT1x7u9nWJsf0lix+3GARX2BXuOKZNrr X-Received: by 2002:ad4:4212:0:b0:690:4e5a:7255 with SMTP id k18-20020ad44212000000b006904e5a7255mr9320158qvp.14.1709839407471; Thu, 07 Mar 2024 11:23:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709839407; cv=pass; d=google.com; s=arc-20160816; b=Zxfdg3RK48cQRAJT48LeY+60vJFig3k3u1UfTdguDcv3VSDjmMAAJs/9DR7OHkqDlV LAHhFcGv+41+KFZe5XAqn47882E71bsh3zMHmqq1EReKYcpz7QwY8lGPB2bnhTtHrFdk +pPxTqwMWnY6wPYZa8xwXJVCLuPVeinmQrDpiqQIaDazElDUisjmJ5Nvocz+ZnX9FRqI UyosV6uzVD+/diyw9366AzURjmUdpGrEUA3d9+eNziiQ2qfQjQLKjKX+GG3iyx9+CSmx c9p08fTsYX+5N0mDyv20mBSTxR5ZsLz6KmLHFon5vMwIfIS5pw82r4gYHeQpxqWRUX8V 3oCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DduEKj8GFlpzFgT0yb/zzfC+FS9qllTpxNT85F/f4pE=; fh=42mmIuCKRRZ517m+mGjLvKWx1hJuQRVLBh3ROhok2f4=; b=wfHn3/5SkzNM7rzI+7f+AZuGl71fNT1OCEiW+YOeDAkNSTP5raKIVS2aMozkS+T4Py KTz85Q839o8w6GmBz0lcTGfDYhidXSy10xl9uUxzhbXxXyXfhn4Mi0YUAlrpcm9VKtXV +fHsfgTfCW1cPizLGakGc2siCi40c93Q64G3POoSZn+g48i+x6bvWWOc5GxAazUiF55U jilD6yvE5FQXjzY9rd0a8msOVdrFzLp5RLdEZoZkoyOBmUEfjuPBhfYTi/XiR3aYDPBd RliNOCYd71iUrUjqs18H1v5kpZf7lwxUi1GQ7aIC551PL1kvLBTjy8Ggb6sMs2GYMYVm j27A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G0IpIy7V; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-96097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q10-20020ad45caa000000b0068efa58259bsi17532309qvh.157.2024.03.07.11.23.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 11:23:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G0IpIy7V; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-96097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 15E921C213D0 for ; Thu, 7 Mar 2024 19:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9849A13699A; Thu, 7 Mar 2024 19:23:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="G0IpIy7V" Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 549C01BDDB for ; Thu, 7 Mar 2024 19:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839391; cv=none; b=EPee/7NXQA7zkkb1hk6rbwhEaiJFe2cDJ9zi80ooX4OSnSMXIW5E4635KTboqPFBpuL2uRA98nkNjbh86UjzOaA8OG9FJzhT1QYK7DhH4jXm7F7NoYmqG8y1T0/Z+ydbo1BlPbxn04Q/way2iLD1bMpIMflFQ+xt5GFi1YbERew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709839391; c=relaxed/simple; bh=wJlCqTThPi4/VML6Y1+wwR+KbJN/I/oeJww0OgERadE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=snLAhtSMsU2wogos0XbpE8FbHpo6VYNW3WlLTCSaOELg9jeXj/3PYjKGWQBeDw5ztWbbHfIga8P0GOKBhLzh5WDHqTT8oMN14QQtaOj8+RFSM54dgpNvHfk+8x2toyOMFyRPymyqkechmS6QjFw0pHOo88qUCHV9gTqJBF9IO/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=G0IpIy7V; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e64997a934so1034963b3a.0 for ; Thu, 07 Mar 2024 11:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709839389; x=1710444189; darn=vger.kernel.org; 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=DduEKj8GFlpzFgT0yb/zzfC+FS9qllTpxNT85F/f4pE=; b=G0IpIy7V6yAgO80mW1eN7xl5W1itTjsjzyLIBxFoBa1eIspWIEp+Ou56QRxvgxMuZI c7SOohY0fm4JcPMhRdhKD8SWASZd8L7qUaooQeOIRJV53oZHyCkVuouYsyGIXphttgUm 3dAc5TkKmkAPaG3NasWGoNeIQ7w4b1HxBKRHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709839389; x=1710444189; 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=DduEKj8GFlpzFgT0yb/zzfC+FS9qllTpxNT85F/f4pE=; b=pl7njhCQtKSyduT9X2J6bXX71yXswaZIT3AVTBQgi/LKEzpJ/2/+NhOsJ5KvzE47/d JS1KNNCCCS+w0rDotr9I9IRxO1h0GnAQgz5vBlSe3EB01Qz+S6aULa5PSZR1qTrpP6NO Ttt7Z8aBW/Gx3Vo9LZ61+t5+kp85yZ1ty8bjuOza2GUzAIXAF1EZAKVfswYvDJ22RqCN ov2SiwaMuC1uVSAwnNUgxoYqnSEvcAaZFKfeNNZjuHyuWNob08g38ds4m1IxNA7uEUgL IrNjT+VfTiunHrZCGrp4Tj/kth/DQsTSOeD3wh/YeIALs0kG6BFffyfcAa/xW67g5pkD uFZQ== X-Gm-Message-State: AOJu0Yzr1nARII7veln4b7Q8XedPJ8wc6ueXnOIVI9JBqv7UlnncRsTn 4GslWhfcwZK/UJevGLth0yTnX4T/R8Fpbv8VfoNDCcG+4xh2WBOTg4wlb4c45M6jcIeJuwRk7dY = X-Received: by 2002:a05:6a20:d395:b0:1a0:708a:4f6e with SMTP id iq21-20020a056a20d39500b001a0708a4f6emr9938824pzb.41.1709839388729; Thu, 07 Mar 2024 11:23:08 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id f19-20020a656293000000b005dc816b2369sm11419586pgv.28.2024.03.07.11.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 11:23:08 -0800 (PST) Date: Thu, 7 Mar 2024 11:23:07 -0800 From: Kees Cook To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List , Maciej Fijalkowski , Tony Nguyen Subject: Re: linux-next: manual merge of the kspp tree with the net-next tree Message-ID: <202403071122.F11DAADF50@keescook> References: <20240307162958.02ec485c@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240307162958.02ec485c@canb.auug.org.au> On Thu, Mar 07, 2024 at 04:29:58PM +1100, Stephen Rothwell wrote: > Hi all, > > FIXME: Add owner of second tree to To: > Add author(s)/SOB of conflicting commits. > > Today's linux-next merge of the kspp tree got conflicts in: > > drivers/net/ethernet/intel/ice/ice_lib.c > drivers/net/ethernet/intel/ice/ice_xsk.c > > between commits: > > 3e5fb691faee ("ice: make ice_vsi_cfg_rxq() static") > a292ba981324 ("ice: make ice_vsi_cfg_txq() static") > > from the net-next tree and commit: > > 014dc22af922 ("overflow: Change DEFINE_FLEX to take __counted_by member") > > from the kspp tree. > > I fixed it up (I used those files from the former and applied the > following merge fix patch) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > From: Stephen Rothwell > Date: Thu, 7 Mar 2024 16:26:02 +1100 > Subject: [PATCH] fix up for "overflow: Change DEFINE_FLEX to take __counted_by > member" > > comflcting with commits > > 3e5fb691faee ("ice: make ice_vsi_cfg_rxq() static") > a292ba981324 ("ice: make ice_vsi_cfg_txq() static") > > from the net-nect tree. > > Signed-off-by: Stephen Rothwell > --- > drivers/net/ethernet/intel/ice/ice_base.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_base.c b/drivers/net/ethernet/intel/ice/ice_base.c > index d2fd315556a3..a545a7917e4f 100644 > --- a/drivers/net/ethernet/intel/ice/ice_base.c > +++ b/drivers/net/ethernet/intel/ice/ice_base.c > @@ -956,7 +956,7 @@ ice_vsi_cfg_txq(struct ice_vsi *vsi, struct ice_tx_ring *ring, > int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, > u16 q_idx) > { > - DEFINE_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); > + DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); > > if (q_idx >= vsi->alloc_txq || !tx_rings || !tx_rings[q_idx]) > return -EINVAL; > @@ -978,7 +978,7 @@ int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, > static int > ice_vsi_cfg_txqs(struct ice_vsi *vsi, struct ice_tx_ring **rings, u16 count) > { > - DEFINE_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); > + DEFINE_RAW_FLEX(struct ice_aqc_add_tx_qgrp, qg_buf, txqs, 1); > int err = 0; > u16 q_idx; Thanks! This looks correct to me. -- Kees Cook