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 ;)
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to