# platform/blade: Improve \`ZED_DEVICE_ID\` parsing \(\#29235\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c231c95521aa1a1c0e5151179098164059738952)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c231c95521aa1a1c0e5151179098164059738952

Requested commit: c231c95521aa1a1c0e5151179098164059738952

Commit: c231c95521aa1a1c0e5151179098164059738952

Tree: 6fbd7e857a743e2f93dc3473166e637c739b7c5a

Author: Ben Kunkle

Committer: GitHub

## Message

```
platform/blade: Improve `ZED_DEVICE_ID` parsing (#29235)

Closes #28533

Release Notes:

- Linux: Improved parsing of `ZED_DEVICE_ID` environment variable in an
attempt to fix some cases where it erroneously failed to parse. The
`ZED_DEVICE_ID` is now expected to always be a 4 digit hexadecimal
number (as it is in the output of `lcpci`) with an optional `0x` or `0X`
prefix.
```

## Parents

- [fcc6a86c907cb256593e76bf98a954f1c5312703](https://git.cafe/gitcafe/zed/commit/fcc6a86c907cb256593e76bf98a954f1c5312703?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c231c95521aa1a1c0e5151179098164059738952?format=markdown)
