Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/107870/?format=api
http://patches.dpdk.org/api/patches/107870/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220220182147.9750-1-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220220182147.9750-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20220220182147.9750-1-stephen@networkplumber.org", "date": "2022-02-20T18:21:39", "name": "[v3,0/8] yet more unnecessary NULL checks", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220220182147.9750-1-stephen@networkplumber.org/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/107870/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/107870/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 992B8A00C2;\n\tSun, 20 Feb 2022 19:21:53 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1F4594068C;\n\tSun, 20 Feb 2022 19:21:53 +0100 (CET)", "from mail-pj1-f44.google.com (mail-pj1-f44.google.com\n [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 63B8640395\n for <dev@dpdk.org>; Sun, 20 Feb 2022 19:21:51 +0100 (CET)", "by mail-pj1-f44.google.com with SMTP id\n ev16-20020a17090aead000b001bc3835fea8so816475pjb.0\n for <dev@dpdk.org>; Sun, 20 Feb 2022 10:21:51 -0800 (PST)", "from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199])\n by smtp.gmail.com with ESMTPSA id\n u8sm13528107pgf.83.2022.02.20.10.21.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 20 Feb 2022 10:21:49 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=W4MMCllUcjyMIz2n2MP7klIlTuf2XWeciWZxW4LEmyM=;\n b=qC4Nb2lfBJWzUqFMU4UAoGz4QSc8WHlpdlyf7JeEFuCGMIrgA7tmS3m4NaVjfYbqZm\n Cl7TV2KDyItq3caMCw6dMvEo2q/iU79FZ8cOS0zp4BhJZG2mZsIIPB1uZaEwac3witck\n 42sxTOzHeckCKHMZBaRWABqUbgbOpHndsBdfrpVsfcHx4WDITGucHU0Bdw7Xz7d3NHj0\n oLaxmRiVKAkxYoJfn4GOpOXBq1FCggr0do2wTsgywBeSSNBh1Pgire8plQbQguPQ/I3g\n gRBC5VJXg7KjEMtP6UkEVd6FFzYiwJtWcFzXbWxMvdV2V9pAtRoSYwcn/9/sabajPW3y\n JN0w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=W4MMCllUcjyMIz2n2MP7klIlTuf2XWeciWZxW4LEmyM=;\n b=BGKEg6F9if0XRXSmCjz3G6eX40z59ibBSfJea928s8Xf0JOlvX+ry3RLIMsLHaooX2\n u4Y4xLhw3b9Q9F02nAC2L6JEFQjs670z6qOT3zcle+118LCfDWB15lORsXCiBxhqKjmE\n mPgpZ5F6QSWza4912j7fIhdgwaplo1v49+j0vA33kOIdg2sXMQvxtI6Xw8WKDI5nDGrn\n h8Zg56WryNAwnFG/2TFyJXwT4TGtPnXHt6Wsbv/CjWvUxGo+hCSjQ4Fmw6bauKPuf/jN\n S54rkEEnrDSOPIAEdA0SogahkpOnpazbC+3MrjWflZINyB1mlA21zoU4B+ko3ik59T/Y\n uuPw==", "X-Gm-Message-State": "AOAM530MJXM6Rn7LZfaq2+oCdvvBQub3xxM6PoND4G078qC8GiTlS1XE\n U1A0z3P2qT6fwG3Mxwk6LtMWQ0c66nU/B/rd", "X-Google-Smtp-Source": "\n ABdhPJz8qSQ9wifMJnmlDWFladTauc6cJZq8g8KqX6vvQPVLEVkG9xdReg4QfFKcp7tUeUEDSgGwVw==", "X-Received": "by 2002:a17:902:bb93:b0:14f:3c15:566f with SMTP id\n m19-20020a170902bb9300b0014f3c15566fmr15657792pls.6.1645381310013;\n Sun, 20 Feb 2022 10:21:50 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[PATCH v3 0/8] yet more unnecessary NULL checks", "Date": "Sun, 20 Feb 2022 10:21:39 -0800", "Message-Id": "<20220220182147.9750-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20220219234322.61309-1-stephen@networkplumber.org>", "References": "<20220219234322.61309-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Thomas suggested there are some other functions that could\nuse the nullfree cleanup; this covers the rest of the story.\n\nNote: this does not change existing API/ABI, there are still\nsome outliers that don't use the convention but fixing these\nwill have to wait until next LTS.\n\nv3 - fix another typo and add more functions\n\nv2 - fix spelling typo and add functions\n\nStephen Hemminger (8):\n cocci/nullfree: add more functions\n acl: remove unnecessary null checks\n lpm: remove unnecessary NULL checks\n lib: document existing free functions\n test: remove unnecessary NULL checks before free\n fips_validation: remove unnecessary NULL check\n event/sw: remove unnecessary NULL check\n pipeline: remove unnecessary checks for NULL pointer before free\n\n app/test/test_acl.c | 12 +-\n app/test/test_cmdline_lib.c | 3 +-\n app/test/test_cryptodev.c | 9 +-\n app/test/test_cryptodev_asym.c | 30 ++---\n app/test/test_cryptodev_blockcipher.c | 3 +-\n app/test/test_func_reentrancy.c | 6 +-\n app/test/test_hash.c | 3 +-\n devtools/cocci/nullfree.cocci | 108 +++++++++++++++++-\n drivers/event/sw/sw_evdev.c | 6 +-\n examples/fips_validation/fips_dev_self_test.c | 3 +-\n lib/acl/rte_acl.h | 1 +\n lib/bitratestats/rte_bitrate.h | 1 +\n lib/compressdev/rte_comp.h | 1 +\n lib/cryptodev/rte_crypto.h | 1 +\n lib/eal/include/rte_interrupts.h | 4 +-\n lib/efd/rte_efd.h | 1 +\n lib/eventdev/rte_event_ring.h | 1 +\n lib/fib/rte_fib.h | 1 +\n lib/fib/rte_fib6.h | 1 +\n lib/lpm/rte_lpm.h | 1 +\n lib/lpm/rte_lpm6.h | 1 +\n lib/member/rte_member.h | 1 +\n lib/pipeline/rte_port_in_action.h | 6 +-\n lib/pipeline/rte_swx_ctl.c | 3 +-\n lib/pipeline/rte_swx_ctl.h | 1 +\n lib/pipeline/rte_swx_pipeline.c | 6 +-\n lib/pipeline/rte_swx_pipeline.h | 1 +\n lib/reorder/rte_reorder.h | 1 +\n lib/rib/rte_rib.h | 1 +\n lib/rib/rte_rib6.h | 1 +\n lib/sched/rte_sched.h | 1 +\n lib/stack/rte_stack.h | 1 +\n lib/table/rte_swx_table_wm.c | 3 +-\n lib/table/rte_table_acl.c | 15 +--\n lib/telemetry/rte_telemetry.h | 2 +-\n 35 files changed, 162 insertions(+), 78 deletions(-)", "diff": null, "prefixes": [ "v3", "0/8" ] }{ "id": 107870, "url": "