Re: [PATCH 2/2] gpio/gpio-support: Fix build warnings.

2020-03-28 Thread Niteesh G. S.
On Sat, Mar 28, 2020 at 9:38 PM Joel Sherrill wrote: > We don't think you should assert or generate a fatal error after > initialization. This could cause an unknown, but safety critical, > application to fail. > > This same logic should be converted to a run-time error. > Should I just return

Re: [PATCH 2/2] gpio/gpio-support: Fix build warnings.

2020-03-28 Thread Joel Sherrill
We don't think you should assert or generate a fatal error after initialization. This could cause an unknown, but safety critical, application to fail. This same logic should be converted to a run-time error. This is probably guidance that is or should be in the coding style in the software

[PATCH 2/2] gpio/gpio-support: Fix build warnings.

2020-03-28 Thread G S Niteesh Babu
Fixes "array subscript is outside array bounds" in gpio-support.c --- bsps/shared/dev/gpio/gpio-support.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/shared/dev/gpio/gpio-support.c b/bsps/shared/dev/gpio/gpio-support.c index 9c053dc151..04f1c8ca90 100644 ---