# Re: \[PATCH RFC 2/3\] media: i2c: adv7842: remove open coded version of SMBus block read

- From: Wolfram Sang \<wsa+renesas@sang-engineering.com\>
- Date: 2021-01-12 19:42:31 
- List: linux-i2c
- Page: https://ratatoskr.run/linux-i2c/2021/01/6232373
- Thread: https://ratatoskr.run/linux-i2c/2021/01/6232056/t.md

```text

> +static int adv7511_edid_rd(struct v4l2_subdev *sd, uint16_t len, uint8_t *buf)
>  {
>  	struct adv7511_state *state = get_adv7511_state(sd);
> +	s32 len;

And 'len' here shadows the function argument :( Ok, I need to resend
this patch. Still, looking forward to a comment if an approach like this
is acceptable.

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-i2c/2021/01/6232373/attachment/0) (application/pgp-signature, 833 bytes)
