Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2972560rwi; Fri, 28 Oct 2022 13:56:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dGGzI07V+vu9NQB/UTX/Szcj41eqxQxC5qoYGS4kqp6YtZMOitrvRddyNYhv7XWaB0UnD X-Received: by 2002:a65:5809:0:b0:46f:6afe:77a8 with SMTP id g9-20020a655809000000b0046f6afe77a8mr1222491pgr.206.1666990618752; Fri, 28 Oct 2022 13:56:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666990618; cv=none; d=google.com; s=arc-20160816; b=m5rwHqa0JrC9PIEnRewwBGf4q8jtVuS1bR44M6+ZkJcLvDqOVGXacwrWuLqFb4QpRD X/74WHdK2n6gfNjqwPMF09hZ7HNe5BNG5IJy/ZgBWVrUZRv5VUUdkn8mzFx0AnHqhaqK HWHIjCqNZYvyo5eIXtaF0A/Dw/CKM8kO2ZT6JeUkkprfuEiXUGg9kBPOsU+40NgxwY46 NAEHnxI2RMeKRKAuLj3iyXJrNGqt+bqiufr2TYnd0MkWBVw4sY+U80yn6ZhIMO4afick e0YRTb7JugJku/hyZObJbGMaVdJmQJH1fuN3+FtgpAUS3nkiRY1Jvn1f9xhrwlinYIfR K1sg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YtHe/L1RHAn+gN/MDjEcanWzy8GkIBM/LTz4MthUb/I=; b=Xx3XkX0U0Qax+E0Bov4GmCTiZfMeY3gvAHfKgYLl2K/yhXddrgdAxlsbkwE7wZ48H7 cHom930VnOlwYDC8+zYO2MYAfBM61hFDEOnoSbsQrCBP3zY5oCc9BybxtR+gKck6YPsL gkoiDvHd13MyjL0eyF9k/2KUXm/VqaIQ7sBcUNnaG8OVmpBG7A6GqfdPzBUIoWjixvJ6 +IoJoRKwHNEp997sMN81lueaJH7WFqwRGj6iODGnbTU+JHgARb3k2001P71hc1arlLyi uuUNstKCg9N0J1mBFBIL19sjD48DvJrCMc9vYVha+XUUUS+lfwYs3MkKP6DMm+DmUD8H NSxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j+g714N+; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f19-20020a056a00239300b0056b345b7f5dsi7168637pfc.26.2022.10.28.13.56.47; Fri, 28 Oct 2022 13:56:58 -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=@intel.com header.s=Intel header.b=j+g714N+; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbiJ1Usu (ORCPT + 99 others); Fri, 28 Oct 2022 16:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiJ1Ush (ORCPT ); Fri, 28 Oct 2022 16:48:37 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2049123AB6C; Fri, 28 Oct 2022 13:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666990117; x=1698526117; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cV0R+8GoIkGqd7y8oYhqM5PrpbnhFRPNwiSxTQR2btQ=; b=j+g714N+mVYs5CT/uBi6Wav7bPUucsbAPRdt4ynEASqh5ys+sPwQ+249 TxQQKHHPhlZbDjJDrbWp3d5zNdV4/i6LnWKqh3Mv/4oX/CJPxaJmGwF3f ILZpijgbyvzNyfIiop62/wT7lGygswV0F6G9xXwlJTlf0WdNxGIolgb5m /PRZme6eCYY8bte6rEiS6hTTsIdepw3GQEQqzNcrOeviDdigxwLFmNpul ZyrYqLUCNlfzcfXPDxSXLsfU3m3xIXKmRip1XH6FHN4WbeRgPII5lmpvX VD7vlpEFGiLIT2/ENcxmXKLqNYsVaMdulQKHcsJwmE/gr6ihW4uUmsPxK Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10514"; a="291885122" X-IronPort-AV: E=Sophos;i="5.95,222,1661842800"; d="scan'208";a="291885122" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2022 13:48:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10514"; a="962159875" X-IronPort-AV: E=Sophos;i="5.95,222,1661842800"; d="scan'208";a="962159875" Received: from bwalker-desk.ch.intel.com ([143.182.136.162]) by fmsmga005.fm.intel.com with ESMTP; 28 Oct 2022 13:48:36 -0700 From: Ben Walker To: vkoul@kernel.org Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Dave Jiang Subject: [PATCH v6 5/7] dmaengine: idxd: idxd_desc.id is now a u16 Date: Fri, 28 Oct 2022 13:48:10 -0700 Message-Id: <20221028204812.1772736-6-benjamin.walker@intel.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221028204812.1772736-1-benjamin.walker@intel.com> References: <20220829203537.30676-1-benjamin.walker@intel.com> <20221028204812.1772736-1-benjamin.walker@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE 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: X-Mailing-List: linux-kernel@vger.kernel.org This is going to be packed into the cookie. It does not need to be negative or larger than u16. Signed-off-by: Ben Walker Reviewed-by: Dave Jiang --- drivers/dma/idxd/idxd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 1196ab342f011..d9096dfb27422 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -333,7 +333,7 @@ struct idxd_desc { struct dma_async_tx_descriptor txd; struct llist_node llnode; struct list_head list; - int id; + u16 id; int cpu; struct idxd_wq *wq; }; -- 2.37.3