Re: Help Request - Fix Out of Bounds Subscript Warning in Raspberry Pi

2017-04-25 Thread Pavel Pisa
Hello Joel, On Wednesday 26 of April 2017 01:03:30 Joel Sherrill wrote: > Pavel, > > Feel free to commit the patch. the patch should be tested and (unfortunately) I do not get to that in next weeks. I have not even check that it compiles. If you apply it and it compiles for you and you are happy

Re: Help Request - Fix Out of Bounds Subscript Warning in Raspberry Pi

2017-04-25 Thread Joel Sherrill
Pavel, Feel free to commit the patch. Why do you think the warning is a false positive? --joel On Tue, Apr 25, 2017 at 4:53 AM, Pavel Pisa wrote: > From 3a2957faeb744af08196f1fd3baac71f15d76c85 Mon Sep 17 00:00:00 2001 > Message-Id:

Re: Help Request - Fix Out of Bounds Subscript Warning in Raspberry Pi

2017-04-25 Thread Pavel Pisa
>From 3a2957faeb744af08196f1fd3baac71f15d76c85 Mon Sep 17 00:00:00 2001 Message-Id: <3a2957faeb744af08196f1fd3baac71f15d76c85.1493113587.git.pp...@pikron.com> From: Pavel Pisa Date: Tue, 25 Apr 2017 11:45:57 +0200 Subject: [PATCH] bsp/raspberrypi: GPIO silence warning and

Help Request - Fix Out of Bounds Subscript Warning in Raspberry Pi

2017-04-24 Thread Joel Sherrill
Hi It would be appreciated if someone could look into this and fix it. log/arm-raspberrypi2.log:../../../../../../../../rtems/c/src/lib/libbsp/arm/raspberrypi/../../shared/gpio.c:328:35: warning: array subscript is outside array bounds [-Warray-bounds]