Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5110779iog; Wed, 22 Jun 2022 12:12:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vC3AF1XdCDAIcYDkrQRSC3saebXa6pBIy+h9fMdsrM9MYCY9obtmmnidZS1Kt2CYVNRnlz X-Received: by 2002:a17:90b:4b48:b0:1ec:fc87:691c with SMTP id mi8-20020a17090b4b4800b001ecfc87691cmr1617015pjb.120.1655925130025; Wed, 22 Jun 2022 12:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655925130; cv=none; d=google.com; s=arc-20160816; b=qRbmlN/eeT1y5oROMGKc2ESQglL65F5/M163tBnfSc/UxTH28zKujjh79xYxo2h0fc kUzt6ieukdYGHJLH5Olj1E6O0jeZYhTrePlgWMlk1cHeuKB+T9cUtdhoHf66CEWWSlAO R/RQGcQUGCWs5A67XbbzgHpf+RjZniYyWti4Hkn2q3Kwthk3YstyEadguRRun1Ekb6gQ ryNvUFC71dXPRL9pn+dVanG+43G8fW0bC1lBivRP9yU2rHuUgOCefMPNLQaOwPENHRbB oDohQj22K7418ZAlUqFxxsaB5g612HsIKR/Cjp9H5TmABiwKS5SVo/RRxH4KZvEPnfrC KDXQ== 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=TvN1n1q20D1wcXxni/SJNgRQbXgIRv+/Fv1PzyVxvvk=; b=fZqZqaBZbP/ph1Lyn4NNxHpweQ1nWDsRBFRuAVVXJpG/VYiMfoZRxtdpL1fhrNXMiZ iRyfLFDWWl1RwRKOmW4v2RC5IP15o9mvUZHQ9RBQ+ULdUiwVs++iiUW4UiVJPZnPZj8a PFx+SL/H4ACBVOpG0C64sXLlOtaaU3CkGmZTo4kcjwB2Q3RT9bCzvKOEcMCXC3Rj76Go aycA390UmWkGiZ5+Zrvut188TWQRyhNYjCwQnRmzl8Okzz79U7xcrHJ+c0Oum9/zbnNV VqSRVYJwWz1H5wA/pjp9JbmwtwauSjxZk8xiIYHSjsjIKb8A6PkGPeXVyuYm6jqztfS8 IlSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="QxDib/Fj"; 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 67-20020a630846000000b003fe25580685si25718524pgi.349.2022.06.22.12.11.57; Wed, 22 Jun 2022 12:12:10 -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="QxDib/Fj"; 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 S1377257AbiFVSzX (ORCPT + 99 others); Wed, 22 Jun 2022 14:55:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359437AbiFVSyx (ORCPT ); Wed, 22 Jun 2022 14:54:53 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53AB1403CA; Wed, 22 Jun 2022 11:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655924068; x=1687460068; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=b2jYdUokYSrhLLJ65hnYCKypoanrr8xEmX1WraLh+kI=; b=QxDib/FjCs6chtMsot8/mRBIG/brUIGygArh9I6paKWDTgekp/8WdCfD YEWO+BxH3Mi4JTN9g4u+oVk+BeTXUFShZcrAaeL82c1QLAsmdz0to52Gl Ctx9DFy1Lh//hrkN5E1Xos4OrqDBGidDqjOSei49aOK97yXbpYVb0rYi4 sNbWJo5GXNdrZ2ED8fsw9pXWuyR1xhLCa/tjPnopT7Evp4gVyGSVVKZst 0pSIyByXKc/oBAISwafu3wvcAdnd1axe5xcA86CF72Mjjsly38yXpB+DZ 7kgriktACYD3iQGkJ4ib8wv5XHXW9jRRoHsTIicKZSDscNzZx0KRCkTis Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="281244405" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="281244405" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 11:54:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="538592747" Received: from bwalker-desk.ch.intel.com ([143.182.136.162]) by orsmga003.jf.intel.com with ESMTP; 22 Jun 2022 11:54:08 -0700 From: Ben Walker To: vkoul@kernel.org Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 13/15] dmaengine: idxd: idxd_desc.id is now a u16 Date: Wed, 22 Jun 2022 11:54:07 -0700 Message-Id: <20220622185407.3043638-1-benjamin.walker@intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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. 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.35.1