Displaying 20 results from an estimated 20 matches for "vmsg".
Did you mean:
msg
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...he issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
>
> smatch warnings:
> drivers/i2c/busses/i2c-virtio.c:160 virtio_i2c_xfer() error: we previously assumed 'vmsg' could be null (see line 137)
>
It's quite possible a false positive. Look at 122. But I agree that for-loop is
not the best for such things to understand. Perhaps switching to do {} while ()
will make it better.
> # https://github.com/0day-ci/linux/commit/0a54ec771966748fcbc86256b...
2020 Sep 14
2
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...he issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
>
> smatch warnings:
> drivers/i2c/busses/i2c-virtio.c:160 virtio_i2c_xfer() error: we previously assumed 'vmsg' could be null (see line 137)
>
It's quite possible a false positive. Look at 122. But I agree that for-loop is
not the best for such things to understand. Perhaps switching to do {} while ()
will make it better.
> # https://github.com/0day-ci/linux/commit/0a54ec771966748fcbc86256b...
2020 Sep 11
6
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...e data buffer
+ * @status: the processing result from the backend
+ */
+struct virtio_i2c_msg {
+ struct virtio_i2c_hdr hdr;
+ u8 *buf;
+ u8 status;
+};
+
+/**
+ * struct virtio_i2c - virtio I2C data
+ * @vdev: virtio device for this controller
+ * @completion: completion of virtio I2C message
+ * @vmsg: the virtio I2C message for communication
+ * @adap: I2C adapter for this controller
+ * @i2c_lock: lock for virtqueue processing
+ * @vq: the virtio virtqueue for communication
+ */
+struct virtio_i2c {
+ struct virtio_device *vdev;
+ struct completion completion;
+ struct virtio_i2c_msg vmsg;
+ s...
2020 Sep 22
3
[PATCH v3] i2c: virtio: add a virtio i2c frontend driver
...e data buffer
+ * @status: the processing result from the backend
+ */
+struct virtio_i2c_msg {
+ struct virtio_i2c_hdr hdr;
+ u8 *buf;
+ u8 status;
+};
+
+/**
+ * struct virtio_i2c - virtio I2C data
+ * @vdev: virtio device for this controller
+ * @completion: completion of virtio I2C message
+ * @vmsg: the virtio I2C message for communication
+ * @adap: I2C adapter for this controller
+ * @i2c_lock: lock for virtqueue processing
+ * @vq: the virtio virtqueue for communication
+ */
+struct virtio_i2c {
+ struct virtio_device *vdev;
+ struct completion completion;
+ struct virtio_i2c_msg vmsg;
+ s...
2020 Sep 11
6
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...e data buffer
+ * @status: the processing result from the backend
+ */
+struct virtio_i2c_msg {
+ struct virtio_i2c_hdr hdr;
+ u8 *buf;
+ u8 status;
+};
+
+/**
+ * struct virtio_i2c - virtio I2C data
+ * @vdev: virtio device for this controller
+ * @completion: completion of virtio I2C message
+ * @vmsg: the virtio I2C message for communication
+ * @adap: I2C adapter for this controller
+ * @i2c_lock: lock for virtqueue processing
+ * @vq: the virtio virtqueue for communication
+ */
+struct virtio_i2c {
+ struct virtio_device *vdev;
+ struct completion completion;
+ struct virtio_i2c_msg vmsg;
+ s...
2020 Sep 22
3
[PATCH v3] i2c: virtio: add a virtio i2c frontend driver
...e data buffer
+ * @status: the processing result from the backend
+ */
+struct virtio_i2c_msg {
+ struct virtio_i2c_hdr hdr;
+ u8 *buf;
+ u8 status;
+};
+
+/**
+ * struct virtio_i2c - virtio I2C data
+ * @vdev: virtio device for this controller
+ * @completion: completion of virtio I2C message
+ * @vmsg: the virtio I2C message for communication
+ * @adap: I2C adapter for this controller
+ * @i2c_lock: lock for virtqueue processing
+ * @vq: the virtio virtqueue for communication
+ */
+struct virtio_i2c {
+ struct virtio_device *vdev;
+ struct completion completion;
+ struct virtio_i2c_msg vmsg;
+ s...
2020 Sep 22
0
[PATCH v3] i2c: virtio: add a virtio i2c frontend driver
...ckend
> + */
> +struct virtio_i2c_msg {
> + struct virtio_i2c_hdr hdr;
> + u8 *buf;
> + u8 status;
> +};
> +
> +/**
> + * struct virtio_i2c - virtio I2C data
> + * @vdev: virtio device for this controller
> + * @completion: completion of virtio I2C message
> + * @vmsg: the virtio I2C message for communication
> + * @adap: I2C adapter for this controller
> + * @i2c_lock: lock for virtqueue processing
> + * @vq: the virtio virtqueue for communication
> + */
> +struct virtio_i2c {
> + struct virtio_device *vdev;
> + struct completion completion...
2020 Sep 14
0
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...ctvirtio_scsi_req_cmd{
...
u8 dataout[];
...
u8 datain[];
}
And I would like to have a look at the spec patch.
Thanks
> +
> +/**
> + * struct virtio_i2c - virtio I2C data
> + * @vdev: virtio device for this controller
> + * @completion: completion of virtio I2C message
> + * @vmsg: the virtio I2C message for communication
> + * @adap: I2C adapter for this controller
> + * @i2c_lock: lock for virtqueue processing
> + * @vq: the virtio virtqueue for communication
> + */
> +struct virtio_i2c {
> + struct virtio_device *vdev;
> + struct completion completion...
2020 Sep 14
0
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...(GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
smatch warnings:
drivers/i2c/busses/i2c-virtio.c:160 virtio_i2c_xfer() error: we previously assumed 'vmsg' could be null (see line 137)
# https://github.com/0day-ci/linux/commit/0a54ec771966748fcbc86256b830b5f786168b7d
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jie-Deng/i2c-virtio-add-a-virtio-i2c-frontend-driver/20200911-115013
git checkout 0a54e...
2020 Sep 14
0
[PATCH v2] i2c: virtio: add a virtio i2c frontend driver
...owing tag as appropriate
> > Reported-by: kernel test robot <lkp at intel.com>
> > Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> >
> > smatch warnings:
> > drivers/i2c/busses/i2c-virtio.c:160 virtio_i2c_xfer() error: we previously assumed 'vmsg' could be null (see line 137)
> >
>
> It's quite possible a false positive. Look at 122. But I agree that for-loop is
> not the best for such things to understand. Perhaps switching to do {} while ()
> will make it better.
>
Smatch is assuming that virtqueue_get_buf...
2020 Sep 04
2
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...c_msg_done(struct virtqueue *vq)
>> +{
>> +??? struct virtio_i2c *vi = vq->vdev->priv;
>> +
>> +??? complete(&vi->completion);
>> +}
>> +
>> +static int virtio_i2c_add_msg(struct virtqueue *vq,
>> +????????????????? struct virtio_i2c_msg *vmsg,
>> +????????????????? struct i2c_msg *msg)
>> +{
>> +??? struct scatterlist *sgs[3], hdr, bout, bin, status;
>> +??? int outcnt = 0, incnt = 0;
>> +
>> +??? if (!msg->len)
>> +??????? return -EINVAL;
>> +
>> +??? vmsg->hdr.addr = msg->...
2020 Sep 04
2
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...c_msg_done(struct virtqueue *vq)
>> +{
>> +??? struct virtio_i2c *vi = vq->vdev->priv;
>> +
>> +??? complete(&vi->completion);
>> +}
>> +
>> +static int virtio_i2c_add_msg(struct virtqueue *vq,
>> +????????????????? struct virtio_i2c_msg *vmsg,
>> +????????????????? struct i2c_msg *msg)
>> +{
>> +??? struct scatterlist *sgs[3], hdr, bout, bin, status;
>> +??? int outcnt = 0, incnt = 0;
>> +
>> +??? if (!msg->len)
>> +??????? return -EINVAL;
>> +
>> +??? vmsg->hdr.addr = msg->...
2020 Sep 07
0
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...>>> +{
>>> +??? struct virtio_i2c *vi = vq->vdev->priv;
>>> +
>>> +??? complete(&vi->completion);
>>> +}
>>> +
>>> +static int virtio_i2c_add_msg(struct virtqueue *vq,
>>> +????????????????? struct virtio_i2c_msg *vmsg,
>>> +????????????????? struct i2c_msg *msg)
>>> +{
>>> +??? struct scatterlist *sgs[3], hdr, bout, bin, status;
>>> +??? int outcnt = 0, incnt = 0;
>>> +
>>> +??? if (!msg->len)
>>> +??????? return -EINVAL;
>>> +
>>&g...
2020 Sep 03
9
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...ter adap;
+ struct mutex i2c_lock;
+ struct virtqueue *vq;
+};
+
+static void virtio_i2c_msg_done(struct virtqueue *vq)
+{
+ struct virtio_i2c *vi = vq->vdev->priv;
+
+ complete(&vi->completion);
+}
+
+static int virtio_i2c_add_msg(struct virtqueue *vq,
+ struct virtio_i2c_msg *vmsg,
+ struct i2c_msg *msg)
+{
+ struct scatterlist *sgs[3], hdr, bout, bin, status;
+ int outcnt = 0, incnt = 0;
+
+ if (!msg->len)
+ return -EINVAL;
+
+ vmsg->hdr.addr = msg->addr;
+ vmsg->hdr.flags = msg->flags;
+ vmsg->hdr.len = msg->len;
+
+ vmsg->buf = kzalloc(vms...
2020 Sep 03
9
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...ter adap;
+ struct mutex i2c_lock;
+ struct virtqueue *vq;
+};
+
+static void virtio_i2c_msg_done(struct virtqueue *vq)
+{
+ struct virtio_i2c *vi = vq->vdev->priv;
+
+ complete(&vi->completion);
+}
+
+static int virtio_i2c_add_msg(struct virtqueue *vq,
+ struct virtio_i2c_msg *vmsg,
+ struct i2c_msg *msg)
+{
+ struct scatterlist *sgs[3], hdr, bout, bin, status;
+ int outcnt = 0, incnt = 0;
+
+ if (!msg->len)
+ return -EINVAL;
+
+ vmsg->hdr.addr = msg->addr;
+ vmsg->hdr.flags = msg->flags;
+ vmsg->hdr.len = msg->len;
+
+ vmsg->buf = kzalloc(vms...
2020 Sep 03
0
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...vq;
> +};
> +
> +static void virtio_i2c_msg_done(struct virtqueue *vq)
> +{
> + struct virtio_i2c *vi = vq->vdev->priv;
> +
> + complete(&vi->completion);
> +}
> +
> +static int virtio_i2c_add_msg(struct virtqueue *vq,
> + struct virtio_i2c_msg *vmsg,
> + struct i2c_msg *msg)
> +{
> + struct scatterlist *sgs[3], hdr, bout, bin, status;
> + int outcnt = 0, incnt = 0;
> +
> + if (!msg->len)
> + return -EINVAL;
> +
> + vmsg->hdr.addr = msg->addr;
> + vmsg->hdr.flags = msg->flags;
> + vmsg-&g...
2020 Sep 03
0
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...vq;
> +};
> +
> +static void virtio_i2c_msg_done(struct virtqueue *vq)
> +{
> + struct virtio_i2c *vi = vq->vdev->priv;
> +
> + complete(&vi->completion);
> +}
> +
> +static int virtio_i2c_add_msg(struct virtqueue *vq,
> + struct virtio_i2c_msg *vmsg,
> + struct i2c_msg *msg)
> +{
> + struct scatterlist *sgs[3], hdr, bout, bin, status;
> + int outcnt = 0, incnt = 0;
> +
> + if (!msg->len)
> + return -EINVAL;
> +
> + vmsg->hdr.addr = msg->addr;
> + vmsg->hdr.flags = msg->flags;
> + vmsg-&g...
2020 Sep 04
0
[PATCH] i2c: virtio: add a virtio i2c frontend driver
...vq;
> +};
> +
> +static void virtio_i2c_msg_done(struct virtqueue *vq)
> +{
> + struct virtio_i2c *vi = vq->vdev->priv;
> +
> + complete(&vi->completion);
> +}
> +
> +static int virtio_i2c_add_msg(struct virtqueue *vq,
> + struct virtio_i2c_msg *vmsg,
> + struct i2c_msg *msg)
> +{
> + struct scatterlist *sgs[3], hdr, bout, bin, status;
> + int outcnt = 0, incnt = 0;
> +
> + if (!msg->len)
> + return -EINVAL;
> +
> + vmsg->hdr.addr = msg->addr;
> + vmsg->hdr.flags = msg->flags;
> + vmsg-&g...
2005 Jan 05
2
Glophone/Voiceglo and Asterisk
<P>Has anyone managed to get Asterisk to work with Glophone/Voiceglo since this posting.</P>
<P><A href="http://lists.digium.com/pipermail/asterisk-users/2004-February/036559.html">http://lists.digium.com/pipermail/asterisk-users/2004-February/036559.html</A></P>
<P>I've tried copying the config in this listing with no success. </P>
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...W-6Iwnb}5{<te<z*=y3&0f}B=(
zV6NDU(>4%AFI#B^Aq~IgNwO0CGSD}P(M#MRIJ$5Nmo+EM(XI5<tZC8A{A4;`GbwD2
zgu}HMj`rr-+|&1QqY<SHz at T|xqx9a*aqc;;rtR0gyW>w*JwVC?nfbTIrjdB<1Ydiu
z0k70^)eh;Eh{9o9)x})5d8M2EMG6ho4rlTc(!=Ms%4!xCAy+E^!tdTRzv-sGF`se9
zg(!!EkLAN{NgQNo$xT3q<C1ms6f<&vmSG#w8<0^FgTfru#hJNl3T4A*xn at d-5|E7v
z<NW?%N{uf*+8Ci?l|>@Cu}q?pJ8#F%vp#rdj!1g-2=I0)VCo%bQy>v-L#D-HX{V}q
z5 at fsYsPOx_Tb0l@nFJIc)fMra+#qfxAT{St#77i90Zdpjq~t_yJj3TDF-IBG`!PR0
zm;7V9f&nNm3<UDE5--dz7Jf0x@&WR4Jj_7^WI at 7D`25QN96W1WqpgO`Zqk<3V<C*m
z<9?yPO8{bs0tqr<RVDhZ2...