From patchwork Tue Oct 17 16:46:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 270 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0C1B24318E; Tue, 17 Oct 2023 18:46:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81C3B427DE; Tue, 17 Oct 2023 18:46:31 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id D8A9E40273 for ; Tue, 17 Oct 2023 18:46:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697561190; x=1729097190; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DqFgtae3LAIiAp/CjxweUrEm1G+nHDCZ7DtM97Qd0ZU=; b=SuOmEb0D7VtiAYIIQpcZLwAEDiWAAbf63UPhdw+HWMCyi9t/HFvzXjqB GSNz1PY8f/bXd2cBcV25h5onHV4f24QNA8IkKVb8qXxbvU0Xgd22T4GK3 C9FUj5oChCHXR1/xWZgqCLwIBNV+btASB1ev2IZlIVrNAfygmMtM2lC7Q 0apayYfz/8aih/GLvPvYmyTKvcLTD3x/CTE6MEbWa5iSTG5b29pAyHsSB wuU4+kY1ebpvcMjn+0VnoKcO5Ro0ZpcPPxWPfph8/07qFP8+Y0exd2Z7E 8R/OxAC2h5X5cPfZyVjcBuGu+KoZyhhtvyWTM4+AJZu9arhdiA9AHpufW A==; X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="388688352" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="388688352" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2023 09:46:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10866"; a="872640408" X-IronPort-AV: E=Sophos;i="6.03,232,1694761200"; d="scan'208";a="872640408" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.41]) by fmsmga002.fm.intel.com with ESMTP; 17 Oct 2023 09:46:18 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v3 0/4] Fix device info for SW eventdevs Date: Tue, 17 Oct 2023 17:46:06 +0100 Message-Id: <20231017164610.191852-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231016151713.711965-1-bruce.richardson@intel.com> References: <20231016151713.711965-1-bruce.richardson@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The SW-based eventdevs were missing some basic info in the returned structure from info_get, which could cause crashes if any of the null pointers were dereferenced. These 4 small patches fix these issues. Bruce Richardson (4): event/sw: fix missing device pointer event/dsw: fix missing device pointer event/skeleton: fix missing device pointer event/skeleton: set driver name string drivers/event/dsw/dsw_evdev.c | 1 + drivers/event/skeleton/skeleton_eventdev.c | 7 +++++-- drivers/event/sw/sw_evdev.c | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) --- 2.39.2