Re: [bug report] IB/mlx5: Support IB_WR_REG_SIG_MR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 12, 2016 at 12:33:55PM +0300, Dan Carpenter wrote:
> On Sun, Dec 11, 2016 at 11:23:26AM +0200, Leon Romanovsky wrote:
> > >   3624          case IB_SIG_TYPE_T10_DIF:
> > >   3625                  psv_seg->transient_sig = cpu_to_be32(domain->sig.dif.bg << 16 |
> > >   3626                                                       domain->sig.dif.app_tag);
> > >   3627                  psv_seg->ref_tag = cpu_to_be32(domain->sig.dif.ref_tag);
> > >   3628                  break;
> > >   3629          default:
> > >   3630                  pr_err("Bad signature type given.\n");
> > >   3631                  return 1;
> > >
> > > Why do we return 1 here instead of a negative error code?
> >
> > Yes, probably better to return something like EINVAL, instead of 1.
> > do you want us to handle it?
> >
>
> Yes, please.

Thanks,
We will send it as part of our fixes series for 4.10.

>
> regards,
> dan carpenter
>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux