Hi!
On Die, 2016-04-05 at 15:29 -0400, Wenda Ni wrote:
[...]
> I come across the following code in a kernel module code. It defines an
> array whose length is variant at runtime, depending on the actual inputs.
> It seems that kernel compiler supports this, which is obvious an error in
> the stand
On Tue, 5 Apr 2016, Bjørn Mork wrote:
> "Robert P. J. Day" writes:
> > On Tue, 5 Apr 2016, Wenda Ni wrote:
> >
> >> Hi all,
> >>
> >> I come across the following code in a kernel module code. It defines
> >> an array whose length is variant at runtime, depending on the actual
> >> inputs. It seem
On Tue, Apr 5, 2016 at 1:00 PM, Bjørn Mork wrote:
>
> "Robert P. J. Day" writes:
> > On Tue, 5 Apr 2016, Wenda Ni wrote:
> >
> >> Hi all,
> >>
> >> I come across the following code in a kernel module code. It defines
> >> an array whose length is variant at runtime, depending on the actual
> >> i
On Tue, Apr 5, 2016 at 4:19 PM, wrote:
> On Tue, 05 Apr 2016 15:29:25 -0400, Wenda Ni said:
>
> > I come across the following code in a kernel module code.
>
> > u32 rxe_icrc_hdr(struct rxe_pkt_info *pkt, struct sk_buff *skb)
>
> Is this an out-of-tree module, or an older kernel?
>
> The current
On Tue, 05 Apr 2016 15:29:25 -0400, Wenda Ni said:
> I come across the following code in a kernel module code.
> u32 rxe_icrc_hdr(struct rxe_pkt_info *pkt, struct sk_buff *skb)
Is this an out-of-tree module, or an older kernel?
The current linux-next tree has zero occurences of 'rxe_icrc_hdr'
o
"Robert P. J. Day" writes:
> On Tue, 5 Apr 2016, Wenda Ni wrote:
>
>> Hi all,
>>
>> I come across the following code in a kernel module code. It defines
>> an array whose length is variant at runtime, depending on the actual
>> inputs. It seems that kernel compiler supports this, which is
>> obvio
On Tue, 5 Apr 2016, Wenda Ni wrote:
> Hi all,
>
> I come across the following code in a kernel module code. It defines
> an array whose length is variant at runtime, depending on the actual
> inputs. It seems that kernel compiler supports this, which is
> obvious an error in the standard ANSI C. D
Hi all,
I come across the following code in a kernel module code. It defines an
array whose length is variant at runtime, depending on the actual inputs.
It seems that kernel compiler supports this, which is obvious an error in
the standard ANSI C. Do I have the correct understanding on it?
Thank