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


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

Join devel@lists.zephyrproject.org to automatically receive all group messages.