PCI: of: warn on bogus device_type property
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest4 patches 0 repliesNew
- v64 patches 2 repliesSuperseded
- v54 patches 3 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 4 patches | 1 reply | Superseded | |
| v3 | 4 patches | 11 replies | Superseded | |
| v2 | 4 patches | 5 replies | Superseded | |
| v1 | 4 patches | 3 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PCI: of: avoid allocations in of_pci_prop_compatible()drivers/ | +17 | 0 replies | |
| 2/4 | PCI: of: drop the reg_num argument to of_pci_set_address()drivers/ | +5 | 0 replies | |
| 3/4 | PCI: of: don't zero flags in of_pci_get_addr_flags()drivers/ | +1 | 0 replies | |
| 4/4 | PCI: of: introduce of_pci_verify_node()drivers/ drivers/ drivers/ | +36 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Herve Codina |
|---|---|
| 1/4 | |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/4] PCI: of: warn on bogus device_type property
*** Bjorn seems happy with this series, and Herve has reviewed *** *** almost all of it, but we'd prefer to get an ACK from Rob ***
Add a check when adding a PCI device to ensure the device_type property is (or is not) correctly defined when the device has a non-null devicetree node pointer.
This series also includes three other minor cleanups to the PCI devicetree code. The first patch prevents a possible null pointer dereference that Sashiko pointed out some time back. The second and third patches are simple cleanups. The last adds the new PCI devicetree node checks and warnings.
-Alex
Between version 6 and version 7:
- Simplified the wording on this cover letter
- No longer check for snprintf() overflow in of_pci_prop_compatible()
- Rebased onto 7.4-rc1
Version 6 is available here:
https://lore.kernel.org/lkml/[email protected]/
Between version 5 and version 6:
- Simplified the patch header on the last patch, as suggested by Bjorn
- Rebased on v7.3-rc4; otherwise no code changes
Version 5 is available here:
https://lore.kernel.org/lkml/[email protected]/
Between version 4 and version 5:
- Made a local variable (bufp) a pointer type in the first patch
- Eliminated an unused local variable (i) in the first patch
Version 4 is available here:
https://lore.kernel.org/lkml/[email protected]/
Between version 3 and version 4:
- Insert a first patch that fixes a Sashiko-reported issue
- Drop the final "duplicate warning" patch from v3
- Include "pciex" as a valid PCI bridge device_type property value
- Add Herve's Reviewed-by tag on the last patch
Version 3 is available here:
https://lore.kernel.org/lkml/[email protected]/
Between version 2 and version 3:
- Drop a patch that made a change only needed by a different series
- Switch a function header to use kernel-doc format
- Add a warning if a PCI bridge node has no device_type property
- Added a patch to remove a duplicate warning in the devicetree code
Version 2 is available here:
https://lore.kernel.org/lkml/[email protected]/
Between version 1 and version 2:
- Check the PCI devicetree node even when PCI_DYNAMIC_OF_NODES is not enabled
Version 1 is available here:
https://lore.kernel.org/lkml/[email protected]/
Alex Elder (4):
PCI: of: avoid allocations in of_pci_prop_compatible()
PCI: of: drop the reg_num argument to of_pci_set_address()
PCI: of: don't zero flags in of_pci_get_addr_flags()
PCI: of: introduce of_pci_verify_node()
drivers/pci/bus.c | 1 + drivers/pci/of.c | 32 +++++++++++++++++++++++++++++ drivers/pci/of_property.c | 43 +++++++++++++++++++++------------------ drivers/pci/pci.h | 3 +++ 4 files changed, 59 insertions(+), 20 deletions(-)
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
Signature · 1 line
2.53.0