Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5152542iog; Wed, 22 Jun 2022 13:10:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiAJDUcOWA34/ez+2Nq3dqTOIEpapbNJNZi/j9kWdjwUMDgTBDXDHM8tQEfTObvctqzQ+q X-Received: by 2002:a17:907:9491:b0:722:f2a1:efb6 with SMTP id dm17-20020a170907949100b00722f2a1efb6mr4208355ejc.284.1655928656610; Wed, 22 Jun 2022 13:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655928656; cv=none; d=google.com; s=arc-20160816; b=T0itvXAeFjaF5MigAkeypLTb/xDjwP5Uip4eYASssaIfC9oZrqrJTbaYzzoX5Ho2Jt FNwqgrkQQEZBCSklmlOqJn/avrlSuRpBXIqSbvgTpKEhYYHYv+NCRFoKo3Fq0UNIz0d3 ZlNAKRSAnyUhNPlRnbdT4Av/q48RJ3etLteG9Jsqygm0KJMS5S1r7nqymMMz7TzwXkKZ OKThrxFYkuMNyFjT1BXrFkki1/Mlty8nJElPejYrLQJUqvO4YJG5w1Yrlaz7q5zqkls0 Wv0VTlFdKWCkbPbG3pe2NduDV9De+MEijsJvwrPLaEwexPvfsDP/GViLBv0tHvaJ+Rcf bU+g== 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=TvN1n1q20D1wcXxni/SJNgRQbXgIRv+/Fv1PzyVxvvk=; b=P/zQ7v91GDbMHByH/bwF6DiAQu7yvcIGlgz8iKucRs3T8S9rZBFX2EkQZqXxx5oWog LOGArHPqaKLWXOi82q6eFNVyjSx3LdOmMijdkwLKRQpL579AigtsC303W1XC0TOhf5uP VuR4QZfTzvwdyvhLOqKaGkF8g74iMool551g7E4Dp8Skf5wCfY9JI9UkEF8DPhp0pO8x mGZKEC8Zi+zIeDXLJmY13Cm4UDYToLlEjfxGGFb3xzHPVuw287BCUzbyjTqupRT+yYZI eh9BNlS3Um44rndL566Bo1yaFexguRFaCspwJONU7aSRWfFSMmrRP5WolAOxXrz3Z5fR yakg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XhWTImSy; 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 e8-20020a170906648800b00722e4cb31aesi6389065ejm.254.2022.06.22.13.10.31; Wed, 22 Jun 2022 13:10:56 -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=XhWTImSy; 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 S1376725AbiFVTjv (ORCPT + 99 others); Wed, 22 Jun 2022 15:39:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359854AbiFVTih (ORCPT ); Wed, 22 Jun 2022 15:38:37 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD4517E0E; Wed, 22 Jun 2022 12:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655926714; x=1687462714; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=b2jYdUokYSrhLLJ65hnYCKypoanrr8xEmX1WraLh+kI=; b=XhWTImSyKzEAZGaufTfISFbQHCzPjilYzwtGxHs900QtUjUVMODUUHeG 1PUiqDCtUIy24S4z57oVkFEIoqrRRLKUjmXaEAGgf4m7X92VRLvGXXfAF Tztqkdd4usw9EBtqTULzA9SECMux5CzDoKZYQFkkr3rXNDm2ra1cLcGOb vTBG5/gqpeXV9iVzobqAPjeS2bNIwBFI9+frz/YH/l3fuNzcxEHvQ+68U zhB8+xDXVFuMcgSEELWEEb8wmCJtItXCiazFU//eLywKbHUCS9xTM/+kp jQPtG8nbIkUZ7EFt7HOcJnyyyfp9wlznBm1+qdh+LPYVXmZHG4gw5ZBef g==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="305983112" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="305983112" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 12:38:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="715542104" Received: from bwalker-desk.ch.intel.com ([143.182.136.162]) by orsmga004.jf.intel.com with ESMTP; 22 Jun 2022 12:38:33 -0700 From: Ben Walker To: vkoul@kernel.org Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 13/15] dmaengine: idxd: idxd_desc.id is now a u16 Date: Wed, 22 Jun 2022 12:37:51 -0700 Message-Id: <20220622193753.3044206-14-benjamin.walker@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220622193753.3044206-1-benjamin.walker@intel.com> References: <20220503200728.2321188-1-benjamin.walker@intel.com> <20220622193753.3044206-1-benjamin.walker@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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