Cover Detail
Show a cover letter.
GET /api/covers/107849/?format=api
http://patches.dpdk.org/api/covers/107849/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20220220005140.78713-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": "<20220220005140.78713-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20220220005140.78713-1-stephen@networkplumber.org", "date": "2022-02-20T00:51:33", "name": "[v2,0/7] fix more unnecessary null checks", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20220220005140.78713-1-stephen@networkplumber.org/mbox/", "series": [ { "id": 21749, "url": "http://patches.dpdk.org/api/series/21749/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21749", "date": "2022-02-20T00:51:33", "name": "fix more unnecessary null checks", "version": 2, "mbox": "http://patches.dpdk.org/series/21749/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/107849/comments/", "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 2AD31A00C2;\n\tSun, 20 Feb 2022 01:51:46 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B00B140395;\n\tSun, 20 Feb 2022 01:51:45 +0100 (CET)", "from mail-pf1-f180.google.com (mail-pf1-f180.google.com\n [209.85.210.180])\n by mails.dpdk.org (Postfix) with ESMTP id AAFA94014E\n for <dev@dpdk.org>; Sun, 20 Feb 2022 01:51:44 +0100 (CET)", "by mail-pf1-f180.google.com with SMTP id d187so5495476pfa.10\n for <dev@dpdk.org>; Sat, 19 Feb 2022 16:51:44 -0800 (PST)", "from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199])\n by smtp.gmail.com with ESMTPSA id\n f7sm8129695pfc.0.2022.02.19.16.51.42\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 19 Feb 2022 16:51:42 -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=Vszabs5L4nhYc8wlPoS3c/TSeJ4sqCMqD88aIeAjd+c=;\n b=aa7ofvwysf38eXAKRO2g+c4D/sE+HZoqJIwIb5mCYYg9H/lNQmm0alPQSs1iAA9Ds3\n vOQJJDOFaGtDh6YEjBBoVTnejuMvrSxd5Q7oNZX4EhNJ/tyEW0UDnFtI8nw7X+qEn7Ji\n ++49qHYPglwMptuUXYxjCqp2LzUAe0Hr8cATlRKVSvuS1EyFqPPdVv0vtlxq+18ivtsB\n hmxe2BGeiDzDAoK2S16xDWwjBZs34hFWd90FUbkjP3ubP4UCOyqmQTjFMCH/CHkHTWOA\n Nr/fDZEue7hQ5hivNruMv9UCbX0dMR8WJWgujunrcnjTzvP1PEhrwopCnBhN4GP+PLMz\n mHGg==", "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=Vszabs5L4nhYc8wlPoS3c/TSeJ4sqCMqD88aIeAjd+c=;\n b=Imfwrr78fCEWHWcNumJRvVYeHiButs6li0O9sYmdVgiOadPQsBtpHyRdtA8GLj0ddm\n 6pNMn4igYxWOR2GIcOMf64qfgGGJEs40lYtn3+fhYySaWucaGp2qe3HO8GSQhB5KK37E\n HdN6L4S0uQ0ot7dZYR9TqMeld7VHielzmliStXutrIR62IGTdHeMG/OL6N5nb2OYq6H3\n tj4cgji5t/5uFdcy+DWHpNiuRObtjPlWTHriwpOwo+fAIgptVnRUJv4ZSK8YO0YDTPFw\n b44IjEPulhKebFvzXvjvlF7Z9DfEPJvg7rJVMiyYeyoqSgZpyLfsCE3E0yX5fE++s5XF\n gxSA==", "X-Gm-Message-State": "AOAM530pbR9gcpYBtklYvGZYM7flEIaZ3O5IRKAigIQxhRrFpPTQYHwV\n 8gVdCPM79xoQpfNJ2irc4KRF6bOzgaKnp1Iy", "X-Google-Smtp-Source": "\n ABdhPJzk5MrZmd3FGfhbti1daJaqj1MjqAEytjtsuq99L8P8JVOSqt5MefxWYWjCSo9iagiQpiDwtw==", "X-Received": "by 2002:a63:c051:0:b0:372:d4a5:7033 with SMTP id\n z17-20020a63c051000000b00372d4a57033mr11312724pgi.303.1645318303071;\n Sat, 19 Feb 2022 16:51:43 -0800 (PST)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Subject": "[PATCH v2 0/7] fix more unnecessary null checks", "Date": "Sat, 19 Feb 2022 16:51:33 -0800", "Message-Id": "<20220220005140.78713-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\nv2 - fix spelling typo and add more functions\n\nStephen Hemminger (7):\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 unecessary NULL checks before free\n fips_validation: remove unnecessary NULL check\n event/sw: remove unnecessary NULL check\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 | 63 +++++++++++++++++--\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/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/lpm/rte_lpm.h | 1 +\n lib/lpm/rte_lpm6.h | 1 +\n lib/member/rte_member.h | 1 +\n lib/rib/rte_rib.h | 1 +\n lib/rib/rte_rib6.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 25 files changed, 103 insertions(+), 70 deletions(-)" }{ "id": 107849, "url": "