[Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context

Jason Ekstrand jason at jlekstrand.net
Thu Mar 8 23:00:43 UTC 2018


On Thu, Mar 8, 2018 at 2:39 PM, Lionel Landwerlin <
lionel.g.landwerlin at intel.com> wrote:

> On 08/03/18 22:36, Jason Ekstrand wrote:
>
>
>>     hash_table_foreach(brw->perfquery.oa_metrics_table, entry) {
>>        struct brw_perf_query_info *query = entry->data;
>> -      char config_path[256];
>> +      char config_path[280];
>>
>
> What's with the bump?
>
> Because the compiler is complaining.
> It's able to see the length of the arguments (brw->perfquery.sysfs_dev_dir
> is already 256 + the other arguments...)
>
> It's like compiler are getting really good or something ;)
>

Wow, that's crazy.  First 6 are R-b me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180308/f90b33c0/attachment.html>


More information about the mesa-dev mailing list