lkml.org 
[lkml]   [2019]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] llc2: Remove the condition operator in llc_stat_ev_rx_null_dsap_xid_c and llc_stat_ev_rx_null_dsap_test_c.
From
From: "Chan Shu Tak, ALex" <alexchan@task.com.hk>
Date: Wed, 18 Dec 2019 23:07:37 +0800

> On Tue, Dec 17, 2019 at 10:18:46PM -0800, David Miller wrote:
>> From: "Chan Shu Tak, Alex" <alexchan@task.com.hk>
>> Date: Tue, 17 Dec 2019 12:00:36 +0800
>>
>> > @@ -32,7 +32,7 @@ static int llc_stat_ev_rx_null_dsap_xid_c(struct sk_buff *skb)
>> > return LLC_PDU_IS_CMD(pdu) && /* command PDU */
>> > LLC_PDU_TYPE_IS_U(pdu) && /* U type PDU */
>> > LLC_U_PDU_CMD(pdu) == LLC_1_PDU_CMD_XID &&
>> > - !pdu->dsap ? 1 : 0; /* NULL DSAP value */
>> > + !pdu->dsap; /* NULL DSAP value */
>>
>> This isn't a v2 of your patch, it's a patch against v1 of your patch.
>>
>> Please do this properly, thank you.
>
> Thanks for your comments and patience and sorry for the troubles that I caused.
>
> I will revise my patch and try again.
>
> In this case, should I start anew or continue on this thread?

Post a new patch that does the full change from "!pdu->dsap ? 0 : 1" to just
plain "!pdu->dsap".

\
 
 \ /
  Last update: 2019-12-18 21:25    [W:0.035 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site