)]}'
{"id":"openocd~master~I786385d0f662dbb1be5be313ae42623156d68ce5","project":"openocd","branch":"master","hashtags":[],"change_id":"I786385d0f662dbb1be5be313ae42623156d68ce5","subject":"helper/jim-nvp: comply with coding style [1/2]","status":"MERGED","created":"2021-04-24 22:39:50.000000000","updated":"2021-06-04 16:40:39.000000000","submitted":"2021-06-04 16:40:39.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"6183-1622824839633-888f78d9","meta_rev_id":"c14ca6283fd69889c1b292a7dcc7cace96e70c5f","_number":6183,"owner":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},{"value":1,"date":"2021-06-04 16:40:39.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"value":1,"date":"2021-06-04 16:40:39.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},{"value":2,"date":"2021-06-04 16:40:39.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-05-27 09:58:53.000000000","updated_by":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"reviewer":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"state":"REVIEWER"},{"updated":"2021-05-28 14:41:58.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2021-05-28 14:55:02.000000000","updated_by":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"reviewer":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"state":"REVIEWER"}],"messages":[{"id":"81577ab3994d7771bf927a808d07d839212ee716","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-04-24 22:39:50.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"2adf5e15780a01080cb4f280c9720cae0f71ad58","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-04-24 23:09:06.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14417/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13671/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"8617bb9c56380bb8792125a0d35e38f7ba645102","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-04-24 23:17:06.000000000","message":"Uploaded patch set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"f9d6d4d20cbbd1693fc40bda56020264d4c97f46","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-04-24 23:49:05.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14418/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13672/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"6cad70817c182392b959571cbd455c52ec5ddb50","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-04-25 09:10:02.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"0d66737fef79810508e494a4cfa3a3727e9556b1","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-22 20:35:19.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"9be7ec65303fb2956c1bb55a199332ecfd51df4c","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-22 23:02:06.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14604/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13856/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"ba99f5e6ca8733223cbe232b22a0ec7ffdf05076","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-27 09:57:40.000000000","message":"Patch Set 3: Code-Review+1\n\nTested and it compiles well also on MacOS.\nMaybe the deprecated part could be dropped in another patch before releasing v0.12.0, to avoid any issue.","accounts_in_message":[],"_revision_number":3},{"id":"330e851aa955b4410818081c4128fe5e479ffaa8","author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"real_author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"date":"2021-05-27 19:04:59.000000000","message":"Patch Set 3:\n\nNice, thanks for the effort!\n\nI think it should be \"jim_set_result_nvp_unknown\". What is with functions like Jim_SetResult(), Jim_SetResultFormatted() etc.?","accounts_in_message":[],"_revision_number":3},{"id":"24fd5c4397f038680d0e75f0e4a1e7e5da195683","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-27 21:02:25.000000000","message":"Patch Set 3:\n\nI tried to avoid adding too many \"_\" separators.\nEven for \"Jim_GetOpt_XXX\" I have opted for keeping together \"_getopt_\".\nIt\u0027s still readable without camelcase and underscore. Same for \"_setresult_\" and \"_getresult_\".","accounts_in_message":[],"_revision_number":3},{"id":"45f51193733d2e91f82f27a08179a2434d35758f","author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"real_author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"date":"2021-05-28 13:16:34.000000000","message":"Patch Set 3:\n\nI understand but the number of \"_\" would still be reasonable in my opinion, given the function names we already have in our code. For example:\n\ntarget_buffer_set_u32_array()\ntarget_get_gdb_reg_list_noread()\nlibusb_get_string_descriptor_ascii()\nriot_get_symbol_list_to_lookup()\n\nOmitting \"_\" for, e.g., \"get\" would make the code inconsistent to our own naming convention.","accounts_in_message":[],"_revision_number":3},{"id":"f454502ff06e37d04d19a0155df923d77cbcbc3f","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-28 13:28:33.000000000","message":"Patch Set 3: Code-Review-1\n\nOk, will send a new version asap","accounts_in_message":[],"_revision_number":3},{"id":"86a5829c499795eb5eb65507bf3f9bb66af04737","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-28 14:07:15.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"7f1815066943c756a990c7f1613e53490b82f52a","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-05-28 14:11:41.000000000","message":"Patch Set 4: Code-Review+1\n\n\u003e I think it should be \"jim_set_result_nvp_unknown\". What is with\n \u003e functions like Jim_SetResult(), Jim_SetResultFormatted() etc.?\n\nFixed \"jim_set_result_nvp_unknown\".\nI have left out \"*_getopt_*\". It remembers the well known functions in /usr/include/getopt.h\n\nYou also asked about Jim_SetResult(), Jim_SetResultFormatted() etc.\nThese are exported by jimtcl, so we have to use them","accounts_in_message":[],"_revision_number":4},{"id":"dd17989d7027d81427eff3f4c7892865ab29068d","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-05-28 14:41:58.000000000","message":"Patch Set 4: Verified+1\n\nBuild Successful \n\nhttp://build.openocd.org/job/openocd-gerrit/14660/ : SUCCESS\n\nhttp://build.openocd.org/job/openocd-gerrit-build/13910/ : SUCCESS","accounts_in_message":[],"_revision_number":4},{"id":"3e3c94c48a15a837920de23588c8db04aef706e2","author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"real_author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"date":"2021-05-28 14:55:02.000000000","message":"Patch Set 4: Code-Review+1\n\nThanks!\n\n\u003e I have left out \"*_getopt_*\". It remembers the well known functions in /usr/include/getopt.h\nYes, makes sense.","accounts_in_message":[],"_revision_number":4},{"id":"57441a2a6ae2fcb4ce0d7b080759f9b91442da0c","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-06-04 16:40:36.000000000","message":"Patch Set 4: Code-Review+2","accounts_in_message":[],"_revision_number":4},{"id":"c14ca6283fd69889c1b292a7dcc7cace96e70c5f","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-06-04 16:40:39.000000000","message":"Change has been successfully cherry-picked as b8e18d292eb6a3459a018f504f2f62d6a25c26b2 by Antonio Borneo","accounts_in_message":[],"_revision_number":5}],"current_revision":"b8e18d292eb6a3459a018f504f2f62d6a25c26b2","revisions":{"50fb8e5da25c4c0a8437fc1cad040a054e781692":{"kind":"REWORK","_number":4,"created":"2021-05-28 14:07:15.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/83/6183/4","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/83/6183/4","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/4 \u0026\u0026 git checkout -b change-6183 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/83/6183/4","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4e872a797f81595d5de790138bdec62f2bf175f0","subject":"target/zynqmp : Add AXI AP access port"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:06:00.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-05-28 14:02:48.000000000","tz":120},"subject":"helper/jim-nvp: comply with coding style [1/2]","message":"helper/jim-nvp: comply with coding style [1/2]\n\nThe helper jim-nvp does not comply with OpenOCD coding style due\nto typedef of struct and CamelCase symbol names.\nWhile it\u0027s trivial fixing the helper and all its current use in\nthe code, changing these APIs will potentially break a number of\npatches pending in gerrit. Gerrit will not trigger any alert, but\nthe code will generate compile error after the merge.\n\nAdd the compile flag \"-Wno-error\u003ddeprecated-declarations\" to keep\nas warning (not as error) the use of \"deprecated\" functions and\ntypes.\nRename all the CamelCase symbols is lowercase and provide struct\nprototypes in place of the typedef.\nAdd a DEPRECATED section to \u0027jim-nvp.h\u0027 where the old CamelCase\nsymbols and the old typedef are re-declared with compile attribute\n\u0027deprecated\u0027.\n\nWith this change OpenOCD compiles, but generates warnings.\nThe remaining changes allover OpenOCD code will be fixed in a\nseparate patch for easier review.\n\nThe patches merged later that still use the old deprecated API\nwill compile with warnings. This will permit to identify and fix\nthese cases.\n\nChange-Id: I786385d0f662dbb1be5be313ae42623156d68ce5\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"b8e18d292eb6a3459a018f504f2f62d6a25c26b2":{"kind":"REWORK","_number":5,"created":"2021-06-04 16:40:39.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/83/6183/5","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/83/6183/5","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/5 \u0026\u0026 git checkout -b change-6183 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/83/6183/5","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"3bd26ebb59e2932b361b40176b818174f561f901","subject":"target/cortex_a: fix memory leak on watchpoints"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:06:00.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-06-04 16:40:39.000000000","tz":60},"subject":"helper/jim-nvp: comply with coding style [1/2]","message":"helper/jim-nvp: comply with coding style [1/2]\n\nThe helper jim-nvp does not comply with OpenOCD coding style due\nto typedef of struct and CamelCase symbol names.\nWhile it\u0027s trivial fixing the helper and all its current use in\nthe code, changing these APIs will potentially break a number of\npatches pending in gerrit. Gerrit will not trigger any alert, but\nthe code will generate compile error after the merge.\n\nAdd the compile flag \"-Wno-error\u003ddeprecated-declarations\" to keep\nas warning (not as error) the use of \"deprecated\" functions and\ntypes.\nRename all the CamelCase symbols is lowercase and provide struct\nprototypes in place of the typedef.\nAdd a DEPRECATED section to \u0027jim-nvp.h\u0027 where the old CamelCase\nsymbols and the old typedef are re-declared with compile attribute\n\u0027deprecated\u0027.\n\nWith this change OpenOCD compiles, but generates warnings.\nThe remaining changes allover OpenOCD code will be fixed in a\nseparate patch for easier review.\n\nThe patches merged later that still use the old deprecated API\nwill compile with warnings. This will permit to identify and fix\nthese cases.\n\nChange-Id: I786385d0f662dbb1be5be313ae42623156d68ce5\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nReviewed-on: http://openocd.zylin.com/6183\nTested-by: jenkins\nReviewed-by: Marc Schink \u003cdev@zapb.de\u003e\n"}},"2770f8eb9e3f0e590ab7939376a7e208766095d1":{"kind":"REWORK","_number":1,"created":"2021-04-24 22:39:50.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/83/6183/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/83/6183/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/1 \u0026\u0026 git checkout -b change-6183 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/83/6183/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"29af9040436a9bb0a937c25c122018494bd3fe08","subject":"target/imx8qm: Initial support"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:06:00.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:39:00.000000000","tz":120},"subject":"[WIP] helper/jim-nvp: comply with coding style","message":"[WIP] helper/jim-nvp: comply with coding style\n\nThe helper jim-nvp does not comply with OpenOCD coding style due\nto typedef of struct and CamelCase symbol names.\nWhile it\u0027s trivial fixing the helper and all its current use in\nthe code, changing these APIs will potentially break a number of\npatches pending in gerrit. Gerrit will not trigger any alert, but\nthe code will generate compile error after the merge.\n\nAdd the compile flag \"-Wno-error\u003ddeprecated-declarations\" to keep\nas warning (not as error) the use of \"deprecated\" functions and\ntypes.\nRename all the CamelCase symbols is lowercase and provide struct\nprototypes in place of the typedef.\nAdd a DEPRECATED section to \u0027jim-nvp.h\u0027 where the old CamelCase\nsymbols and the old typedef are re-declared with compile attribute\n\u0027deprecated\u0027.\n\nWith this change OpenOCD compiles, but generates warnings.\nThe remaining changes allover OpenOCD code will be fixed in a\nseparate patch for easier review.\n\nThis patch is pushed in gerrit with [WIP] tag to verify that it\nbuilds correctly with jenkins.\n\nChange-Id: I786385d0f662dbb1be5be313ae42623156d68ce5\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"6aeb39fadf86bc97c9c634db0407c0388be6b470":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2021-04-24 23:17:06.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/83/6183/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/83/6183/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/2 \u0026\u0026 git checkout -b change-6183 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/83/6183/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"29af9040436a9bb0a937c25c122018494bd3fe08","subject":"target/imx8qm: Initial support"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:06:00.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 23:11:08.000000000","tz":120},"subject":"helper/jim-nvp: comply with coding style [1/2]","message":"helper/jim-nvp: comply with coding style [1/2]\n\nThe helper jim-nvp does not comply with OpenOCD coding style due\nto typedef of struct and CamelCase symbol names.\nWhile it\u0027s trivial fixing the helper and all its current use in\nthe code, changing these APIs will potentially break a number of\npatches pending in gerrit. Gerrit will not trigger any alert, but\nthe code will generate compile error after the merge.\n\nAdd the compile flag \"-Wno-error\u003ddeprecated-declarations\" to keep\nas warning (not as error) the use of \"deprecated\" functions and\ntypes.\nRename all the CamelCase symbols is lowercase and provide struct\nprototypes in place of the typedef.\nAdd a DEPRECATED section to \u0027jim-nvp.h\u0027 where the old CamelCase\nsymbols and the old typedef are re-declared with compile attribute\n\u0027deprecated\u0027.\n\nWith this change OpenOCD compiles, but generates warnings.\nThe remaining changes allover OpenOCD code will be fixed in a\nseparate patch for easier review.\n\nThe patches merged later that still use the old deprecated API\nwill compile with warnings. This will permit to identify and fix\nthese cases.\n\nChange-Id: I786385d0f662dbb1be5be313ae42623156d68ce5\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"57409aab0f40d7e2ef37ced2f199fdce22f15923":{"kind":"REWORK","_number":3,"created":"2021-05-22 20:35:19.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/83/6183/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/83/6183/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/3 \u0026\u0026 git checkout -b change-6183 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/83/6183/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/83/6183/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4e872a797f81595d5de790138bdec62f2bf175f0","subject":"target/zynqmp : Add AXI AP access port"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-04-24 22:06:00.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-05-22 20:33:17.000000000","tz":120},"subject":"helper/jim-nvp: comply with coding style [1/2]","message":"helper/jim-nvp: comply with coding style [1/2]\n\nThe helper jim-nvp does not comply with OpenOCD coding style due\nto typedef of struct and CamelCase symbol names.\nWhile it\u0027s trivial fixing the helper and all its current use in\nthe code, changing these APIs will potentially break a number of\npatches pending in gerrit. Gerrit will not trigger any alert, but\nthe code will generate compile error after the merge.\n\nAdd the compile flag \"-Wno-error\u003ddeprecated-declarations\" to keep\nas warning (not as error) the use of \"deprecated\" functions and\ntypes.\nRename all the CamelCase symbols is lowercase and provide struct\nprototypes in place of the typedef.\nAdd a DEPRECATED section to \u0027jim-nvp.h\u0027 where the old CamelCase\nsymbols and the old typedef are re-declared with compile attribute\n\u0027deprecated\u0027.\n\nWith this change OpenOCD compiles, but generates warnings.\nThe remaining changes allover OpenOCD code will be fixed in a\nseparate patch for easier review.\n\nThe patches merged later that still use the old deprecated API\nwill compile with warnings. This will permit to identify and fix\nthese cases.\n\nChange-Id: I786385d0f662dbb1be5be313ae42623156d68ce5\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[],"submit_requirements":[]}
