xiaoxiang781216 commented on code in PR #19181:
URL: https://github.com/apache/nuttx/pull/19181#discussion_r3449392059
##########
arch/arm64/src/bcm2711/bcm2711_i2c.c:
##########
@@ -213,10 +211,10 @@ static size_t bcm2711_i2c_drainrxfifo(struct
bcm2711_i2cdev_s *priv,
FAR uint8_t *buf, size_t n);
static size_t bcm2711_i2c_filltxfifo(struct bcm2711_i2cdev_s *priv,
FAR uint8_t *buf, size_t n);
-static int bcm2711_i2c_send(struct bcm2711_i2cdev_s *priv, FAR void *buf,
- size_t n);
-static int bcm2711_i2c_receive(struct bcm2711_i2cdev_s *priv, FAR void *buf,
- size_t n);
+static int bcm2711_i2c_send(struct bcm2711_i2cdev_s *priv,
+ FAR struct i2c_msg_s *msgs, size_t n);
Review Comment:
32/64bit arch which doesn't have the near pointer concept should drop FAR
decorator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]