mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
fpga: fix typo in s10_ops_write() comment
The comment reads "reuse it to send more data or free if if all data has been sent". The first "if" is not a repetition, it should be "it", to match the "reuse it" earlier in the same sentence. Only touches a comment, no code changes. Assisted-by: Cursor:claude-opus-5 Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com> Reviewed-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20260910044545.50261-1-hemanth.selam@gmail.com Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
This commit is contained in:
parent
4e3ca71894
commit
00bef46869
|
|
@ -286,7 +286,7 @@ static int s10_ops_write(struct fpga_manager *mgr, const char *buf,
|
|||
|
||||
/*
|
||||
* Loop waiting for buffers to be returned. When a buffer is returned,
|
||||
* reuse it to send more data or free if if all data has been sent.
|
||||
* reuse it to send more data or free it if all data has been sent.
|
||||
*/
|
||||
while (count > 0 || s10_free_buffer_count(mgr) != NUM_SVC_BUFS) {
|
||||
reinit_completion(&priv->status_return_completion);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user