Re: [PATCH v2 03/12] attr.c: update a stale comment on "struct match_attr"

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

 



On Mon, May 16, 2016 at 4:34 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote:
>> - * If is_macro is false, then u.pattern points at the filename pattern
>> - * to which the rule applies.  (The memory pointed to is part of the
>> - * memory block allocated for the match_attr instance.)
>> + * If is_macro is false, then u.pat is the filename pattern to which the
>> + * rule applies.
>
> and we don't need to talk about memory ownership here as that
> is clear for 'struct pattern' documented elsewhere?

It is embedded in the structure which you cannot lose independently, no?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]