Topics

something wrong into drivers/spi/spi_k64.c line 204.


Chény, Yves-Gael <yves at cheny.fr...>
 

Hi,
i just read the source code of zephyr.

I have found an error into :

drivers/spi/spi_k64.c
line 204, baud_rate_prescaler is use instead of baud_rate_scaler (causes an out of bound )


regards,
Yves-Gael <hurdman> Chény.


Boie, Andrew P
 

On Thu, 2016-03-10 at 11:06 +0100, Chény, Yves-Gael wrote:
Hi,
i just read the source code of zephyr.

I have found an error into :

drivers/spi/spi_k64.c
line 204, baud_rate_prescaler is use instead of baud_rate_scaler
(causes an out of bound )
The best thing to do if you find code defects is one of two things:

1. Send a patch to Gerrit that fixes it for review.
2. File a bug in JIRA https://jira.zephyrproject.org/ so that the issue
is tracked, eventually someone will get around to fixing it.

Regards,
Andrew


Chény, Yves-Gael <yves at cheny.fr...>
 

Jeudi 10-03-2016 à 23:14 Boie, Andrew P a écrit:
On Thu, 2016-03-10 at 11:06 +0100, Chény, Yves-Gael wrote:
The best thing to do if you find code defects is one of two things:

1. Send a patch to Gerrit that fixes it for review.
2. File a bug in JIRA https://jira.zephyrproject.org/ so that the issue
is tracked, eventually someone will get around to fixing it.

Regards,
Andrew
Hello Andrew,
ok, i'll send a patch soon.

regards,
Yves-Gaël.