Xinyu Hu

Results 3 issues of Xinyu Hu

# Summary - Fix issue: https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/issues/179#issue-2260797778 # ToDos - I only fixed 3 norflash-related code issues, and there are probably similar bugs somewhere.

https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/blob/67ea926c6a62aa6e19efdc3b11cba3ea0b467e29/device/peripheral/flash/w25qxx/spi_flash_w25qxx.c#L267 Use the size to calculate the last address needs to subtract 1: ` last_address = (address + size -1) & (~(dev->sector_sz - 1)); `

### Description / Steps to reproduce the issue Returned Value: * External port number on success; 0 on failure In some cases,when the return value is 0, it may indicate...

Type: Bug
Area: Networking
OS: Other
Arch: arm