Xilinx / Xilinx/embeddedsw

Dangling comment in xcanfd.c::XCanFd_Send()

Open
#160 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

In https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/canfd/src/xcanfd.c#L547 we have this comment:

	/* Assign buffer number to user */
	*TxBufferNumber = FreeTxBuffer;

	/* Make That buffer as transmitted */

	return XST_SUCCESS;

Is there some missing code to "Mark that buffer as transmitted"?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in XilinxProcessorIPLib/drivers/canfd/src/xcanfd.c at the referenced XCanFd_Send() lines and inspect the surrounding transmit-buffer handling. Determine whether the dangling “Make That buffer as transmitted” comment describes missing behavior or should be removed, then verify that the final code and comment agree with the function’s behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.