[Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Thu Mar 8 22:39:51 UTC 2018
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 ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180308/e689dc76/attachment.html>
More information about the mesa-dev
mailing list