Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3531170rwe; Mon, 29 Aug 2022 13:54:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR5L6HtR5VwdbapD+BaYQVAIjWxN9V/T6U2qs5C0Cd0vL1fs2f2bzk//lC70elZaQ3QN5rdN X-Received: by 2002:a63:89c1:0:b0:42b:afcf:d5ce with SMTP id v184-20020a6389c1000000b0042bafcfd5cemr9504951pgd.4.1661806498008; Mon, 29 Aug 2022 13:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661806498; cv=none; d=google.com; s=arc-20160816; b=cSZ1MBj9HsHqMlna8rKZ2lvEUwGFWWJcQxU4+Ru/Bk1DG803aFtYAICJ6j6h8MwMHd TPiXubkEXlhKGqYANX8C+vXGLy9ucyp1QFxhTw6TItOpJJhGAPHqXNfnKqQ9/bBcx2xz U7YyI1LrdtFXBjX5boJi0+NheZLtrpBCtOvd9tBwuBcl2CCUm73PWaF60XqBVElFHQCC UAideQPkMK4f5BLUt3TsucCSAZNHHhRvifoDHFPYd0B5vcoF8nNdz+4pENjjuhEBXBsC kSTjdpkgSo71Ap3qPUOTzWhnmLqDvmo4tHoBoeF03DG9abVDP7q+dKLoOdUEWCD3pVs9 ip3Q== 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=QMQAL8UFzwTo0zRk9T4T48LlC4FOaVIwR8beOdmZ0J0=; b=HLqqfNLPnpCfOpNmYUVEXnEWcfJQFWHJVc++Ct/WER1sBy46/ao5t8OZpl1gh89MJm qdaszXMkTU0QZUY1p5OOPZCzXqLDtGg43jMYn8n+vw8GYw7OWNKtHCzTFAx0JS2PKvJR BJcFBK2o8S3nYjOLkzCKIjVuyFCo8UOokgpWRCCk5SEvjYCYaOHIM6vqfK2sUqOEiLj+ X8K/CiOJqNu4bULNMaRX4yaQjPimHltbIdEqYB9de24Yy59NbJWSR9+C+qiNOHqvDA5H TGEk55QPa7sRatKL3hbxVIzbkgp3IYdh7BWhun3bL2cYyH3HL/eIVRX+hRwG6ZNxCNVd 41sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=X353sxB1; 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 m5-20020a1709026bc500b0016362d70cf1si8711791plt.50.2022.08.29.13.54.46; Mon, 29 Aug 2022 13:54:57 -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=X353sxB1; 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 S230102AbiH2UgV (ORCPT + 99 others); Mon, 29 Aug 2022 16:36:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiH2UgO (ORCPT ); Mon, 29 Aug 2022 16:36:14 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B297478BD0; Mon, 29 Aug 2022 13:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661805373; x=1693341373; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SsDUgyJnKFU1wjSCmT6NcnZ6nhHM03n8RmHcmSLP/IU=; b=X353sxB1AMVI0xzqPWwoi5W02ais5m9sqnuRTkpBlAILtn8FJ6cq9Z35 pLJoEeYjcVQb1v4phlAh0nYvmPmNT0CA3HIELYe8gQQIEik/BdzjbSFWv VDQ0FGBGQSoRz/1TsPtblh/JEFjlCd+lylqgeXt2OiorHane6UxvmzFsC msD5DhlromLeOA/5jzDzthobMDEglI8zDo5th2whXuv3U3X85en9+fd9D mZtyABxAzYy/0CsAOqxBLO8o7ppAlDzCamj4+bZ49uZNoCPVHtE8Hj+Lq HxxdYpYEFTHsDhaJ76K/2XvEpA4QxwhWEVwGlURysDpVnBzc18u4ew2JP w==; X-IronPort-AV: E=McAfee;i="6500,9779,10454"; a="358958437" X-IronPort-AV: E=Sophos;i="5.93,273,1654585200"; d="scan'208";a="358958437" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 13:36:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,273,1654585200"; d="scan'208";a="614344344" Received: from bwalker-desk.ch.intel.com ([143.182.136.162]) by fmsmga007.fm.intel.com with ESMTP; 29 Aug 2022 13:36:13 -0700 From: Ben Walker To: vkoul@kernel.org Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Dave Jiang , Fenghua Yu Subject: [PATCH v5 5/7] dmaengine: idxd: idxd_desc.id is now a u16 Date: Mon, 29 Aug 2022 13:35:35 -0700 Message-Id: <20220829203537.30676-6-benjamin.walker@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220829203537.30676-1-benjamin.walker@intel.com> References: <20220622193753.3044206-1-benjamin.walker@intel.com> <20220829203537.30676-1-benjamin.walker@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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. Cc: Dave Jiang Cc: Fenghua Yu Signed-off-by: Ben Walker --- 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 fed0dfc1eaa83..bd93ada32c89d 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -325,7 +325,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.1