Re: [PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Guenter Roeck
On 09/25/2018 07:49 PM, Frank Rowand wrote: Hi Guenter, Moving in the right direction, but some comments below. On 09/25/18 10:32, Guenter Roeck wrote: On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the devicetree interrupt parsing code is different, causing unit tests of

Re: [PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Guenter Roeck
On 09/25/2018 07:49 PM, Frank Rowand wrote: Hi Guenter, Moving in the right direction, but some comments below. On 09/25/18 10:32, Guenter Roeck wrote: On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the devicetree interrupt parsing code is different, causing unit tests of

Re: [PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Frank Rowand
Hi Guenter, Moving in the right direction, but some comments below. On 09/25/18 10:32, Guenter Roeck wrote: > On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the > devicetree interrupt parsing code is different, causing unit tests of > devicetree interrupt nodes to fail. Due to

Re: [PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Frank Rowand
Hi Guenter, Moving in the right direction, but some comments below. On 09/25/18 10:32, Guenter Roeck wrote: > On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the > devicetree interrupt parsing code is different, causing unit tests of > devicetree interrupt nodes to fail. Due to

[PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Guenter Roeck
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the devicetree interrupt parsing code is different, causing unit tests of devicetree interrupt nodes to fail. Due to a bug in unittest code, which tries to dereference an uninitialized pointer, this results in a crash. OF:

[PATCH] of: unittest: Disable interrupt node tests for old world MAC systems

2018-09-25 Thread Guenter Roeck
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the devicetree interrupt parsing code is different, causing unit tests of devicetree interrupt nodes to fail. Due to a bug in unittest code, which tries to dereference an uninitialized pointer, this results in a crash. OF: