Tag: pData
Re: [net-next: PATCH 11/12] net: dsa: mv88e6xxx: switch to device_/fwnode_ APIs
Re: [net-next: PATCH 11/12] net: dsa: mv88e6xxx: switch to device_/fwnode_ APIs – Marcin Wojtas From: Marcin Wojtas <mw@semihalf.com> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, ACPI Devel Maling List <linux-acpi@vger.kernel.org>, netdev <netdev@vger.kernel.org>, “Rafael J. Wysocki” <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Andrew Lunn <andrew@lunn.ch>, vivien.didelot@gmail.com, Florian Fainelli <f.fainelli@gmail.com>, Vladimir…
Resolved: Is conversion of a function pointer to a uintptr_t / intptr_t invalid?
Question: Microsoft extensions to C and C++: To perform the same cast and also maintain ANSI compatibility, you can cast the function pointer to a uintptr_t before you cast it to a data pointer: int ( * pfunc ) (); int *pdata; pdata = ( int * ) (uintptr_t) pfunc;…
PYTHON: Convert each CSV Row into XML File sepperate
You are overwriting the same file everytime in your loop. You need to change the file-name as well: pFile = ‘test.csv’ oFile = ‘test’ #add xml later if os.path.isfile(pFile) and pFile.endswith(ext): with open(pFile, ‘r’) as pData: reader = csv.reader(pData) pData = {} for i, row in enumerate(reader, 1): #count each…
fix checkpatch.pl struct should normally be const — DRI Development
Hi Uri, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: github.com/intel-lab-lkp/linux/commits/Uri-Arev/staging-fbtft-fix-checkpatch-pl-struct-should-normally-be-const/20220520-012948 base: git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 4d0cc9e0e53e9946d7b8dc58279c62dfa7a2191b config: arm64-randconfig-r011-20220519 (download.01.org/0day-ci/archive/20220520/202205200821.nJQ0IfFt-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (github.com/llvm/llvm-project e00cbbec06c08dc616a0d52a20f678b8fbd4e304) reproduce (this is a W=1 build): wget raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool…
Fix error handling in pcm030_fabric_probe
[PATCH] ASoC: fsl: Fix error handling in pcm030_fabric_probe * [PATCH] ASoC: fsl: Fix error handling in pcm030_fabric_probe @ 2022-03-01 7:53 Miaoqian Lin 2022-03-02 13:44 ` Mark Brown 0 siblings, 1 reply; 7+ messages in thread From: Miaoqian Lin @ 2022-03-01 7:53 UTC (permalink / raw) To: Liam Girdwood, Mark Brown,…
Re: [PATCH] staging: rtl8712: fix uninit-value “data” and “mac”
Re: [PATCH] staging: rtl8712: fix uninit-value “data” and “mac” – Dan Carpenter From: Dan Carpenter <dan.carpenter@oracle.com> To: Wang Cheng <wanngchenng@gmail.com> Cc: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8712: fix uninit-value “data” and “mac” Date: Fri, 15 Apr 2022 13:02:23 +0300 [thread overview] Message-ID: <20220415100223.GS3293@kadam> (raw) In-Reply-To: <20220415094705.aibh3jr4wzhddmud@ppc.localdomain>…
Win10 ver. 19042 – githubhot
else if (verInfo.dwBuildNumber == 19041) { pData->ver = WINVER_10_20H1; // KP pData->KExecOpt = 0x283; // EP pData->Protection = 0x87A; pData->EProcessFlags2 = 0x9D4; // MitigationFlags offset pData->ObjTable = 0x570; pData->VadRoot = 0x7D8; // KT pData->PrevMode = 0x232; // ET pData->ExitStatus = 0x548; // SSDT pData->NtCreateThdExIndex = 0xC1; pData->NtTermThdIndex = 0x53; pData->MiAllocPage…
Compute shader not working – trying to just make it work at all – OpenGL
HI So, I want to try the compute shader to calculate transfer functions on my 3D texture, and output a new 3D texture, but I cant get it to work at all… Nothing happens. Right now I am just trying to fill the whole new 3D texture (outVolumeTexture) with values…
LKML: Kieran Bingham: Re: [PATCH v4 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection
Messages in this thread Subject Re: [PATCH v4 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection From Kieran Bingham <> Date Wed, 23 Mar 2022 22:11:25 +0000 Quoting Doug Anderson (2022-03-23 21:47:17)> Hi,> > On Thu, Mar 17, 2022 at 6:13 AM Kieran Bingham> <kieran.bingham+renesas@ideasonboard.com> wrote:> >> > @@ -1241,9 +1350,32 @@…
Support DisplayPort (non-eDP) mode — DRI Development
Quoting Kieran Bingham (2022-03-07 17:59:54) > From: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx> > > Despite the SN65DSI86 being an eDP bridge, on some systems its output is > routed to a DisplayPort connector. Enable DisplayPort mode when the next > component in the display pipeline is detected as a DisplayPort > connector,…
RE: [PATCH] input: keyboard: snvs_pwrkey: Add key-release-only
RE: [PATCH] input: keyboard: snvs_pwrkey: Add key-release-only – Jacky Bai From: Jacky Bai <ping.bai@nxp.com> To: Alifer Moraes <alifer.m@variscite.com>, “linux-kernel@vger.kernel.org” <linux-kernel@vger.kernel.org> Cc: “devicetree@vger.kernel.org” <devicetree@vger.kernel.org>, “dmitry.torokhov@gmail.com” <dmitry.torokhov@gmail.com>, “eran.m@variscite.com” <eran.m@variscite.com>, “festevam@gmail.com” <festevam@gmail.com>, “kernel@pengutronix.de” <kernel@pengutronix.de>, “linux-arm-kernel@lists.infradead.org” <linux-arm-kernel@lists.infradead.org>, dl-linux-imx <linux-imx@nxp.com>, “linux-input@vger.kernel.org” <linux-input@vger.kernel.org>, Pierluigi Passaro <pierluigi.p@variscite.com>, “robh+dt@kernel.org” <robh+dt@kernel.org>, “s.hauer@pengutronix.de” <s.hauer@pengutronix.de>, “shawnguo@kernel.org” <shawnguo@kernel.org>, “u.kleine-koenig@pengutronix.de” <u.kleine-koenig@pengutronix.de>, mcontenti <marco.c@variscite.com>…
ESP32 (Sparkfun ESP32 Thing), Arduino IDE, BLE connections – Networking, Protocols, and Devices
Hello,I’m using a Sparkfun ESP32 Thing with the Arduino framework, trying to connect to and read from services on some W4 beacons – www.mokosmart.com/positioning-beacon-w3-w4/ I can successfully scan for the beacons, get the address, local name etc. however, actually connecting never succeeds – the call to client->connect() never returns. My…
Add tx/rx delay flag checks and support for rgmii-rxid
[PATCH V2 1/2] net: ravb: Add tx/rx delay flag checks and support for rgmii-rxid * [PATCH V2 1/2] net: ravb: Add tx/rx delay flag checks and support for rgmii-rxid @ 2022-02-25 18:29 Adam Ford 2022-02-25 18:29 ` [PATCH V2 2/2] arm: rmobile: rzg2_beacon: Enable proper Ethernet PHY Adam Ford 2022-02-25…
Convert to use GPIO descriptors
[PATCH v2] media: m5mols: Convert to use GPIO descriptors * [PATCH v2] media: m5mols: Convert to use GPIO descriptors @ 2022-02-24 0:13 Linus Walleij 0 siblings, 0 replies; only message in thread From: Linus Walleij @ 2022-02-24 0:13 UTC (permalink / raw) To: Mauro Carvalho Chehab, linux-media Cc: Linus Walleij,…
switch to devm_drm_of_get_bridge — DRI Development
The function “drm_of_find_panel_or_bridge” has been deprecated in favor of “devm_drm_of_get_bridge”. Switch to the new function and reduce boilerplate. Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx> — drivers/gpu/drm/bridge/analogix/anx7625.c | 16 +++++———– 1 file changed, 5 insertions(+), 11 deletions(-) diff –git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index 2346dbcc505f..dfeb800751d5 100644 — a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -1333,8 +1333,6 @@ static…
[PATCH 3/3] leds: regulator: Make probeable from device tree
[PATCH 3/3] leds: regulator: Make probeable from device tree – Linus Walleij From: Linus Walleij <linus.walleij@linaro.org> To: Pavel Machek <pavel@ucw.cz> Cc: linux-leds@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Antonio Ospite <ao2@ao2.it> Subject: [PATCH 3/3] leds: regulator: Make probeable from device tree Date: Sun, 20 Feb 2022 00:56:07 +0100 [thread overview] Message-ID: <20220219235607.1613686-3-linus.walleij@linaro.org> (raw)…
fix the error handling in wfx_init_common()
[PATCH] staging: wfx: fix the error handling in wfx_init_common() * [PATCH] staging: wfx: fix the error handling in wfx_init_common() @ 2022-02-17 15:29 xkernel.wang 2022-02-17 15:36 ` Greg KH 0 siblings, 1 reply; 2+ messages in thread From: xkernel.wang @ 2022-02-17 15:29 UTC (permalink / raw) To: jerome.pouiller, gregkh; +Cc: linux-staging,…
telemetry/opentelemetry-collector – [pdata] Consider renaming of MetricValueType
MetricValueType type sounds confusing. It’s not a type of any metric value, it’s applicable to numeric values only. Originally raised by @bogdandrutu github.com/open-telemetry/opentelemetry-collector/pull/4811#discussion_r801186353: On the list of “may fix”: MetricValueType does not sound as the best name for the enum. Maybe NumberValueType? PointValueType? Not sure, just open an issue, this…
Gromacs: gmx::analysismodules::anonymous_namespace{rdf.cpp}::Rdf Class Reference
Public Member Functions virtual void initOptions (IOptionsContainer *options, TrajectoryAnalysisSettings *settings) Initializes options understood by the module. More… virtual void optionsFinished (TrajectoryAnalysisSettings *settings) Called after all option values have been set. More… virtual void initAnalysis (const TrajectoryAnalysisSettings &settings, const TopologyInformation &top) Initializes the analysis. More… …
[PATCH v1 5/9] drm/bridge: ti-sn65dsi86: Fetch bpc via drm_bridge_state
[PATCH v1 5/9] drm/bridge: ti-sn65dsi86: Fetch bpc via drm_bridge_state – Sam Ravnborg From: Sam Ravnborg <sam@ravnborg.org> To: dri-devel@lists.freedesktop.org, Douglas Anderson <dianders@chromium.org> Cc: Rob Clark <robdclark@chromium.org>, Philip Chen <philipchen@chromium.org>, Jitao Shi <jitao.shi@mediatek.com>, Thomas Zimmermann <tzimmermann@suse.de>, Jonas Karlman <jonas@kwiboo.se>, Robert Foss <robert.foss@linaro.org>, Neil Armstrong <narmstrong@baylibre.com>, Jernej Skrabec <jernej.skrabec@gmail.com>, Andrzej Hajda <a.hajda@samsung.com>, Laurent…
Make use of device properties
From Andy Shevchenko <> Subject [PATCH v1 1/1] iio: frequency: adf4350: Make use of device properties Date Wed, 2 Feb 2022 22:29:36 +0200 Convert the module to be property provider agnostic and allowit to be used on non-OF platforms.Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>—drivers/iio/frequency/adf4350.c | 103 +++++++++++++——————-1 file changed, 42 insertions(+), 61…
[BioC] limma, remove two type of batch effect
Hi All, In my analysis, I want to find the different expression genes betweendissese A and B. There are two type of batch effect in my analysis. Iwant to use limma to remove two type of batch effect, one is gender,another is tissue type. I do as fellow. But I…
LKML: Yong Wu: [PATCH v4 16/35] iommu/mediatek: Add IOMMU_TYPE flag
From Yong Wu <> Subject [PATCH v4 16/35] iommu/mediatek: Add IOMMU_TYPE flag Date Tue, 25 Jan 2022 16:56:15 +0800 Add IOMMU_TYPE definition. In the mt8195, we have another IOMMU_TYPE:infra iommu, also there will be another APU_IOMMU, thus, use 2bits for theIOMMU_TYPE.Signed-off-by: Yong Wu <yong.wu@mediatek.com>Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>—drivers/iommu/mtk_iommu.c | 12…
Python – canvas selection – Developer Questions
Hi from krita import * def selectRGB(node, red, green, blue, selectionLevel=255): # get pixels data from node projection # for RGBA/8bit, pixel data format: Blue, Green, Red, Alpha pdata=node.projectionPixelData(node.bounds().left(), node.bounds().top(), node.bounds().width(), node.bounds().height()) bred=red.to_bytes(1, ‘big’) bgreen=green.to_bytes(1, ‘big’) bblue=blue.to_bytes(1, ‘big’) # prepare selection (0=no selection, 255=full selection) selectionPixels=[0]*(node.bounds().width()*node.bounds().height()) offset=0 for index in…
MySQL always no result – Discussion
So I’ve been trying to create a custom system (kinda lika a garage system, but different) for my server.As I got to the part where I display the player all vehicles he ownes I need to create a server callback where the script gets all vehicles from the database using…
how to make 2d rendering on directx 11 more faster – Graphics and GPU Programming
I make an editor for own game engine and I used for 2d rendering Direct2D but I wanted to render a directx texture on window in editor, I didn’t find convenient way to convert directx texture to direct2d bitmap. I decided to make own 2d render on directx 11 and…
Slice xmllist instead of array ( Slice, Arrays )
Problem : ( Scroll to solution ) How would I get a range of items from my xmllist similar to the slice method for an array? slice(startIndex,endIndex); I am trying something like this: var tempXMLList:XMLList = new XMLList(); for( var i:int = startIndex; i <= endIndex; i++){ tempXMLList += originalList[i];…
Switch to regmap for mmio access
[PATCH] pwm: pwm-mtk-disp: Switch to regmap for mmio access * [PATCH] pwm: pwm-mtk-disp: Switch to regmap for mmio access @ 2022-01-03 15:35 AngeloGioacchino Del Regno 0 siblings, 0 replies; only message in thread From: AngeloGioacchino Del Regno @ 2022-01-03 15:35 UTC (permalink / raw) To: thierry.reding Cc: u.kleine-koenig, lee.jones, matthias.bgg,…
boost/type_traits/integral_constant.hpp – 1.78.0
boost/type_traits/integral_constant.hpp // (C) Copyright John Maddock 2015. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP #define BOOST_TYPE_TRAITS_INTEGRAL_CONSTANT_HPP #include <boost/config.hpp> #include <boost/detail/workaround.hpp> #if (BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) || BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610)) || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) || BOOST_WORKAROUND(__MWERKS__,…
Expressionset – phenodata – Stackify
The correct place for this question is on the Bioconductor support site. It’s better to provide a reproducible example that captures the essence of the problem; creating the reproducible example often helps to identify the reason for the problem. library(Biobase) exprs <- matrix(0, nrow=5, ncol=3, dimnames=list(letters[1:5], LETTERS[1:3])) pData <- data.frame(id=c(“foo”,…
[PATCH net-next v2 3/3] net: amd-xgbe: Disable the CDR workaround path for Yellow Carp Devices
[PATCH net-next v2 3/3] net: amd-xgbe: Disable the CDR workaround path for Yellow Carp Devices – Raju Rangoju From: Raju Rangoju <rrangoju@amd.com> To: <thomas.lendacky@amd.com>, <davem@davemloft.net>, <kuba@kernel.org> Cc: <netdev@vger.kernel.org>, <Shyam-sundar.S-k@amd.com>, <Sudheesh.Mavila@amd.com>, <Raju.Rangoju@amd.com> Subject: [PATCH net-next v2 3/3] net: amd-xgbe: Disable the CDR workaround path for Yellow Carp Devices Date: Mon, 20…
Re: [PATCH net-next 1/3] net: amd-xgbe: Add Support for Yellow Carp Ethernet device
Re: [PATCH net-next 1/3] net: amd-xgbe: Add Support for Yellow Carp Ethernet device – Tom Lendacky From: Tom Lendacky <thomas.lendacky@amd.com> To: Raju Rangoju <rrangoju@amd.com>, davem@davemloft.net, kuba@kernel.org Cc: netdev@vger.kernel.org, Shyam-sundar.S-k@amd.com, Sudheesh.Mavila@amd.com, Raju.Rangoju@amd.com Subject: Re: [PATCH net-next 1/3] net: amd-xgbe: Add Support for Yellow Carp Ethernet device Date: Fri, 17 Dec 2021…
Fix garbled text for console
[PATCH V1 1/1] serial: 8250_fintek: Fix garbled text for console * [PATCH V1 1/1] serial: 8250_fintek: Fix garbled text for console @ 2021-12-15 7:58 Ji-Ze Hong (Peter Hong) 0 siblings, 0 replies; only message in thread From: Ji-Ze Hong (Peter Hong) @ 2021-12-15 7:58 UTC (permalink / raw) To: gregkh,…
ESP32 BLE response on notification – Programming Questions
I’m currently messing around with two ESP32 and trying to connect them via BLE. So far i can send a notification from the server to the client and do a write from the client that the server can see. I’m trying to get a response on a nofity, and my…
How to create and free dynamic arrays with Arduino – Programming Questions
WARNING: This is an attempt to clarify if there is any safe way to use dynamic arrays on Arduino Platform ! The recommended way is to avoid dynamic memory allocation due to the missing memory manager who would clean up SRAM after the memory space is freed again. If you…
Fix assert failure from bad threading in ensure functions
Commit: bb407d1b8f326a408932aff5a0f636268ac93787 Author: Hans Goudey Date: Fri Dec 10 13:37:47 2021 -0600 Branches: temp-vert-normals-cleanup developer.blender.org/rBbb407d1b8f326a408932aff5a0f636268ac93787 Fix assert failure from bad threading in ensure functions =================================================================== M source/blender/blenkernel/intern/mesh_normals.cc =================================================================== diff –git a/source/blender/blenkernel/intern/mesh_normals.cc b/source/blender/blenkernel/intern/mesh_normals.cc index b4686d17a59..e0fc3d4f407 100644 — a/source/blender/blenkernel/intern/mesh_normals.cc +++ b/source/blender/blenkernel/intern/mesh_normals.cc @@ -269,28 +269,33 @@ const float (*BKE_mesh_ensure_vertex_normals(const Mesh *mesh))[3] BLI_mutex_lock(normals_mutex); if…
Dedupe array of database results
A result set from a PDO query is as follows… Array ( [0] => Array ( [activity_link_type] => Category [data_id] => 1 ) [1] => Array ( [activity_link_type] => Category [data_id] => 38 ) [2] => Array ( [activity_link_type] => PData [data_id] => 108 ) [3] => Array ( [activity_link_type]…
defer if there is no dsi host — DRI Development
From: Rob Clark <robdclark@xxxxxxxxxxxx> Otherwise we don’t get another shot at it if the bridge probes before the dsi host is registered. It seems like this is what *most* (but not all) of the other bridges do. It looks like this was missed in the conversion to attach dsi host…
Where is genotype calls in this dataset?
Where is genotype calls in this dataset? 0 Hello, I have a dataset from GEO, with ID = GSE20206. I have already checked the dataset using the below code in R: geo.sample <- getGEO(“GSE20206”, GSEMatrix = TRUE) data1 <- geo.sample[[1]] data2 <- geo.sample[[2]] data3 <- geo.sample[[3]] sample_info <- pData(data1) snp_info…
Extract batch variable from GEO dataset
Extract batch variable from GEO dataset 0 I want to perform gene expression analysis of the microarray dataset GSE66099. One of the steps required to move forward with the analysis is a batch correction. I want to consider measurement year as the batch variable. However, I am not sure how…