On 05/12/17 01:54 PM, Serge Semin wrote:
Just because no one said anything before, doesn't mean it's
acceptable. I think that is the official Linux code review mantra ;-)
Okay, if we are going to do it this way, then return ~0 instead. At
least that way there is no ugly cast.
Ok. I'll
On 05/12/17 01:54 PM, Serge Semin wrote:
Just because no one said anything before, doesn't mean it's
acceptable. I think that is the official Linux code review mantra ;-)
Okay, if we are going to do it this way, then return ~0 instead. At
least that way there is no ugly cast.
Ok. I'll
On Tue, Dec 05, 2017 at 01:07:26PM -0500, Jon Mason wrote:
> On Tue, Dec 5, 2017 at 12:31 PM, Serge Semin wrote:
> > On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason
> > wrote:
> >> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin
On Tue, Dec 05, 2017 at 01:07:26PM -0500, Jon Mason wrote:
> On Tue, Dec 5, 2017 at 12:31 PM, Serge Semin wrote:
> > On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason
> > wrote:
> >> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin
> >> wrote:
> >> > There is a common methods signature form
On 05/12/17 10:31 AM, Serge Semin wrote:
-static int idt_ntb_msg_read(struct ntb_dev *ntb, int midx, int *pidx, u32 *msg)
+static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx)
{
struct idt_ntb_dev *ndev = to_ndev_ntb(ntb);
if (midx < 0 || IDT_MSG_CNT <=
On 05/12/17 10:31 AM, Serge Semin wrote:
-static int idt_ntb_msg_read(struct ntb_dev *ntb, int midx, int *pidx, u32 *msg)
+static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx)
{
struct idt_ntb_dev *ndev = to_ndev_ntb(ntb);
if (midx < 0 || IDT_MSG_CNT <=
On Tue, Dec 5, 2017 at 12:31 PM, Serge Semin wrote:
> On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason wrote:
>> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
>> > There is a common methods signature form used over all
On Tue, Dec 5, 2017 at 12:31 PM, Serge Semin wrote:
> On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason wrote:
>> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
>> > There is a common methods signature form used over all the NTB API
>> > like functions naming scheme, arguments names and
On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason wrote:
> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
> > There is a common methods signature form used over all the NTB API
> > like functions naming scheme, arguments names and order, etc.
> >
On Tue, Dec 05, 2017 at 11:49:10AM -0500, Jon Mason wrote:
> On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
> > There is a common methods signature form used over all the NTB API
> > like functions naming scheme, arguments names and order, etc.
> > Recently added NTB messaging API IO
On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
> There is a common methods signature form used over all the NTB API
> like functions naming scheme, arguments names and order, etc.
> Recently added NTB messaging API IO callbacks were named a bit
> different so should
On Sun, Dec 3, 2017 at 2:17 PM, Serge Semin wrote:
> There is a common methods signature form used over all the NTB API
> like functions naming scheme, arguments names and order, etc.
> Recently added NTB messaging API IO callbacks were named a bit
> different so should be renamed to be in
There is a common methods signature form used over all the NTB API
like functions naming scheme, arguments names and order, etc.
Recently added NTB messaging API IO callbacks were named a bit
different so should be renamed to be in compliance with the rest
of the API. The changes are made in a way
There is a common methods signature form used over all the NTB API
like functions naming scheme, arguments names and order, etc.
Recently added NTB messaging API IO callbacks were named a bit
different so should be renamed to be in compliance with the rest
of the API. The changes are made in a way
14 matches
Mail list logo