aboutsummaryrefslogtreecommitdiffstats
path: root/checks.c
AgeCommit message (Expand)AuthorFilesLines
2023-07-28Fix use of <ctype.h> functionsSebastian Huber1-1/+1
2023-05-14checks: Fix crash in graph_child_address if 'reg' cell size != 1Johannes Beisswenger1-25/+25
2023-05-07checks: Fix segmentation fault in check_graph_nodeJohannes Beisswenger1-0/+5
2023-03-01checks: correct I2C 10-bit address checkMatt Ranostay1-3/+4
2023-03-01checks: make check.data constMarc-André Lureau1-5/+5
2023-03-01checks.c: fix check_msg() leakMarc-André Lureau1-0/+1
2023-03-01checks.c: fix heap-buffer-overflowMarc-André Lureau1-1/+1
2023-02-02checks: Update #{size,address}-cells check for 'dma-ranges'Qun-Wei Lin1-2/+2
2021-12-29Handle integer overflow in check_property_phandle_args()David Gibson1-6/+9
2021-10-21checks: Add an interrupt-map checkRob Herring1-0/+85
2021-10-14checks: Ensure '#interrupt-cells' only exists in interrupt providersRob Herring1-4/+10
2021-10-14checks: Drop interrupt provider '#address-cells' checkRob Herring1-5/+0
2021-10-14checks: Make interrupt_provider check dependent on interrupts_extended_is_cellRob Herring1-1/+1
2021-06-30checks: Fix bus-range checkThierry Reding1-1/+1
2021-06-21checks: Fix signedness comparisons warningsAndre Przywara1-10/+10
2021-06-21dtc: Wrap phandle validity checkAndre Przywara1-5/+5
2021-06-08checks: Introduce is_multiple_of()David Gibson1-5/+13
2021-06-08checks: Drop interrupt_cells_is_cell checkRob Herring1-2/+1
2021-06-08checks: Add check_is_cell() for all phandle+arg propertiesRob Herring1-1/+18
2021-05-04checks: replace strstr and strrchr with strendsIlya Lipnitskiy1-18/+7
2021-05-04checks: tigthen up nr-gpios prop exceptionIlya Lipnitskiy1-1/+1
2021-02-15checks: Warn on node-name and property name being the sameKumar Gala1-1/+15
2021-02-10checks: Change node-name check to match devicetree specKumar Gala1-3/+4
2020-10-02checks: Allow PCI bridge child nodes without an addressRob Herring1-3/+1
2020-06-22checks: Improve i2c reg property checkingJoel Stanley1-2/+6
2020-06-22checks: Remove warning for I2C_OWN_SLAVE_ADDRESSJoel Stanley1-0/+6
2020-05-18checks: Add interrupt provider testAndre Przywara1-1/+24
2020-03-10check: Inform about missing rangesArkadiusz Drabczyk1-1/+1
2020-03-04checks: Add 'dma-ranges' checkRob Herring1-10/+13
2019-09-04Ignore phandle properties in /aliasesv1.5.1David Gibson1-0/+5
2019-06-21dtc: Replace GPLv2 boilerplate/reference with SPDX tagsRob Herring1-16/+1
2019-05-06Avoid assertion in check_interrupts_property()David Gibson1-3/+7
2019-03-27checks: Do not omit nodes with labels if symbol generation is requestedChen-Yu Tsai1-0/+2
2019-03-12checks: Fix spelling in check_graph_endpointLeonard Crestez1-1/+1
2018-12-15checks: Add unit address check if node is enabledKumar Gala1-2/+39
2018-11-28checks: Fix crash with multiple source annotationsRob Herring1-1/+1
2018-11-25checks: Use source position information for check failuresRob Herring1-3/+32
2018-11-25checks: Make each message output atomicRob Herring1-6/+11
2018-11-22checks: Restructure check_msg to decrease indentationRob Herring1-14/+14
2018-11-14checks: Update SPI bus check for 'spi-slave'Kumar Gala1-1/+7
2018-09-21checks: fix simple-bus compatible matchingRob Herring1-2/+3
2018-07-27checks: add SPI bus checksRob Herring1-0/+73
2018-07-27checks: add I2C bus checksRob Herring1-0/+70
2018-05-04dtc: add ability to make nodes conditional on them being referencedMaxime Ripard1-0/+13
2018-04-22checks: drop warning for missing PCI bridge bus-rangeRob Herring1-3/+2
2018-03-28checks: Print duplicate node name instead of parent nameGeert Uytterhoeven1-1/+1
2018-03-07checks: add graph binding checksRob Herring1-0/+148
2018-03-07checks: add a check for duplicate unit-addresses of child nodesRob Herring1-0/+31
2018-03-06Suppress warnings on overlay fragmentsDavid Gibson1-0/+5
2018-02-10checks: centralize printing of property names in failure messagesRob Herring1-68/+80
2018-02-09checks: centralize printing of node path in check_msgRob Herring1-128/+104
2017-12-15checks: add chosen node checksRob Herring1-0/+51
2017-12-13checks: add aliases node checksRob Herring1-0/+24
2017-12-13checks: check for #{size,address}-cells without child nodesRob Herring1-0/+26
2017-12-13checks: add string list check for *-names propertiesRob Herring1-1/+17
2017-12-13checks: add string list checkRob Herring1-0/+34
2017-12-13checks: add a string check for 'label' propertyRob Herring1-0/+2
2017-12-05checks: fix sound-dai phandle with arg property checkPeter Rosin1-2/+2
2017-11-11Fix widespread incorrect use of strneq(), replace with new strprefixeq()David Gibson1-3/+3
2017-10-26Remove leading underscores from identifiersDavid Gibson1-16/+16
2017-10-19checks: fix handling of unresolved phandles for dts pluginsRob Herring1-0/+9
2017-09-28checks: Use proper format modifier for size_tThierry Reding1-2/+2
2017-09-22checks: add interrupts property checkRob Herring1-0/+81
2017-09-22checks: add gpio binding properties checkRob Herring1-0/+73
2017-09-22checks: add phandle with arg property checksRob Herring1-0/+126
2017-06-08dtc: fix sprintf() format string error, againDavid Gibson1-1/+1
2017-05-17dtc: check.c fix compile errorShuah Khan1-1/+1
2017-03-21checks: Warn on node name unit-addresses with '0x' or leading 0sRob Herring1-0/+25
2017-03-21checks: Add bus checks for simple-bus busesRob Herring1-0/+70
2017-03-21checks: Add bus checks for PCI busesRob Herring1-0/+136
2017-03-06Fix assorted sparse warningsDavid Gibson1-2/+2
2017-03-06Clean up gcc attributesDavid Gibson1-6/+2
2017-02-23Print output filename as part of warning messagesIan Campbell1-40/+43
2017-02-13dtc: Use streq() in preference to strcmp()David Gibson1-1/+1
2017-02-13checks: Add Warning for stricter node name character checkingRob Herring1-0/+12
2017-02-13checks: Add Warning for stricter property name character checkingRob Herring1-0/+35
2016-12-09Rename boot_infoDavid Gibson1-43/+43
2016-12-09dtc: Plugin and fixup supportPantelis Antoniou1-2/+6
2016-11-28checks: Pass boot_info instead of root nodePantelis Antoniou1-36/+42
2016-05-27Simplify check field and macro namesDavid Gibson1-42/+36
2016-05-27Remove property check functionsDavid Gibson1-100/+114
2016-05-27Remove tree check functionsDavid Gibson1-37/+32
2016-02-19Warn on node name unit-address presence/absence mismatchStephen Warren1-0/+26
2015-04-30Fix crash with poorly defined #size-cellsJack Miller1-1/+1
2015-01-13dtc: Use va_end to match corresponding va_startColin Ian King1-0/+1
2014-10-24Improve portabilityPhil Elwell1-2/+2
2014-02-01dtc: fix some more -Wshadow warningsFlorian Fainelli1-5/+5
2013-10-28Use stdbool more widelyDavid Gibson1-8/+8
2012-09-06dtc: Add ability to delete nodes and propertiesStephen Warren1-2/+6
2012-07-08Allow toggling of semantic checksDavid Gibson1-3/+81
2012-07-08Re-work level setting on checks codeDavid Gibson1-55/+62
2010-02-24dtc: Allow multiple labels on nodes and propertiesDavid Gibson1-4/+7
2010-02-23Disallow re-use of the same label within a dts fileDavid Gibson1-0/+56
2009-11-26Support ePAPR compliant phandle propertiesDavid Gibson1-14/+20
2008-11-17dtc: Handle linux,phandle properties which self-referenceDavid Gibson1-0/+18
2008-07-14dtc: Run relevant checks on dtb input as well as dtsDavid Gibson1-7/+9
2008-07-14dtc: Use the same endian-conversion functions as libfdtDavid Gibson1-1/+1
2008-03-23dtc: Strip redundant "name" propertiesDavid Gibson1-2/+13
2008-03-23dtc: Fix indentation of fixup_phandle_referencesDavid Gibson1-17/+17
2008-03-23dtc: Implement checks for the format of node and property namesDavid Gibson1-0/+37
2007-12-18dtc: Remove remaining old-style checksDavid Gibson1-214/+1
2007-12-07dtc: Allow gcc format warnings for check_msg()David Gibson1-0/+3
2007-12-07dtc: Convert check for obsolete /chosen propertyDavid Gibson1-22/+18
2007-12-07dtc: Convert #address-cells and #size-cells related checksDavid Gibson1-50/+131
2007-12-06dtc: Remove obsolete check_properties() functionDavid Gibson1-45/+3
2007-12-06dtc: Migrate "string property" checks to new frameworkDavid Gibson1-13/+5
2007-12-06dtc: Migrate "one cell" checks to new frameworkDavid Gibson1-14/+26
2007-12-05dtc: Implement path referencesDavid Gibson1-1/+26
2007-12-05dtc: Convert "name" property checking to new infrastructureDavid Gibson1-15/+39
2007-12-05dtc: Fix FAIL() macro varargsDavid Gibson1-2/+2
2007-12-04dtc: Fix uninitialized use of structure_okDavid Gibson1-1/+15
2007-11-26dtc: Merge refs and labels into single "markers" list (v2)David Gibson1-12/+8
2007-11-26dtc: Flexible tree checking infrastructure (v2)David Gibson1-61/+250
2007-11-20dtc: Add testcases for tree checksDavid Gibson1-1/+1
2007-11-01dtc: Move tree checking code to checks.cDavid Gibson1-0/+460