> -----Original Message----- > From: Wolfram Sang [mailto:wsa-dev@xxxxxxxxxxxxxxxxxxxx] > Sent: Sunday, November 20, 2016 11:02 AM > To: Vadim Pasternak <vadimp@xxxxxxxxxxxx> > Cc: wsa@xxxxxxxxxxxxx; linux-i2c@xxxxxxxxxxxxxxx; linux- > kernel@xxxxxxxxxxxxxxx; jiri@xxxxxxxxxxx; Michael Shych > <michaelsh@xxxxxxxxxxxx> > Subject: Re: [patch v8 1/1] i2c: add master driver for mellanox systems > > > > Possibly I should add validation for "num" parameter at the beginning of > mlxcpld_i2c_xfer? > > There is 'max_num_msgs' in the quirk structure. Yes, I see it. So I should just set max_num_msgs to 1, right? Thanks you, Vadim. / > > Thanks, > > Wolfram -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html