From patchwork Mon Dec 3 10:26:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 152685 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6639256ljp; Mon, 3 Dec 2018 02:26:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/XgI2JhF9xwuSmO0T11HL6Mbmy5T52LniONBW/1lLoOF/zecA6gjOX43RS6N02Y5nSwdJpU X-Received: by 2002:a63:d005:: with SMTP id z5mr12795610pgf.64.1543832801403; Mon, 03 Dec 2018 02:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543832801; cv=none; d=google.com; s=arc-20160816; b=cjNEiP8xNLZ7or2ZVTbca/scxzUSxLTdjVVmgK8aYYr33N2WejXqYbP6P0wHd/OOkm 4zJvgwWBpcoqUdHHmi8FYVgV/JGI1oHthz8qEQzEOQza/1VdoH/RHsSRwbP9hXtEvMeM gkI82ssMx05mG9DKfspZPHnVmL3Ya2u3LhkSboISZaXCON510pQVi7AetFGetFbAy1Gp r/CL68iOA1MGtZrq96kvBlu9/RCBw3QKN0XtHnX8p/UjXEjqIiytq9oofMQQPzFlOSug FvXuzWjBBJRBUQMjLewQJ+2YJdGKowqXu6x0ukRtPJMEeF3rrz07IXrV3KHDipgtwQmX ZmLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=Ez9Dbl5SS4V0L3K/huvVXA2vaD4DNxNJQxXuHwn5pRw=; b=RbbIS5cCxWmZJDUEuSGBUaWrDB3gbIEaxgXZOiW2z+JafESuNJnWzDinhxw7wlxIMo hKp8kMGVCNyldVy35WxW+SJBIHAq/5rG5AdLCtdY7iQMyOM9BMoVTb/30HLuijCwqDSg IhXFiVow9hNtEiT5CHvq9xTNT0vIEaJsKzA5tmH0kB6RYZzx0FU5ZvdOOo6HwXEYVLP0 gDhn0xoM3G2YOXQP9G0dsC5ypv5oKUO2On06AmNAEcThI6Q+9Zdw0LO0MPcARXmTn3fF mTIbyp0ns23hLkRc8v9WE/Vi51z7cheB6mZvxopz2MLnGe0bl8vWUqv0dpbvbn2LDFyb ZGEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=1zcc1xlV; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x186si12294592pgb.33.2018.12.03.02.26.40; Mon, 03 Dec 2018 02:26:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=1zcc1xlV; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7D54E6BBF8; Mon, 3 Dec 2018 10:26:37 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mail.openembedded.org (Postfix) with ESMTP id 209CB6C52A for ; Mon, 3 Dec 2018 10:26:35 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id 96so11555547wrb.2 for ; Mon, 03 Dec 2018 02:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=/IYQQ7XsnB8lyeDIgYgjZqs4T8lWIxYwfhB2SifaZGs=; b=1zcc1xlVp1GdSR4pGWmVF2uJWDt1dsbZIEXsvTAS7zHf82TaBddopsSF+aIFDpcNU1 G8zi44L/G4FuG7+648z1evhbc2iwYiGWDWFV4FxY+tZzDa8IZ10aaY9GxqFquE7eokju ZA6cJJ5Ik3dFZaGPFgQFBWlMBx8p/0Oi3z5nWi/PHEpGWFYJIkp8qYYQX6WAG62826M4 ZetEvLC0sPFKXAJ2roFSswOHEKZlKoLuvQtavHGg+K1OChOJ7h40WiztjA8KE3uv5NwA YiS4QGMb/5l07zcgsPcXhp1mlrqfzPcFmGiDoN7Fgt0rYIrOWCyHaQknUkW/u0ir4dMd JedQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=/IYQQ7XsnB8lyeDIgYgjZqs4T8lWIxYwfhB2SifaZGs=; b=kBKDXU2HLdyTA1fQJx7P0WW3AtRZQP2B7lzuItgAepXTynQHbfXHQ1n2r0jo+iAvwb BNCAJjuTNpE3mTJhTUFwn7FjYr1t55mvnVhlimx9aE0Su/RWSYUivUY/ZKyL4qscwAtV wHYlFQueHjh0XrrP700J0N1qFpyEx5bkL7hUcy8YMv1/vQcyMEu7Ud8zAkEPjkAs+0Nh ecb/nGOHHfzGVrS0j/EXZXVj07gdv8IY9sXUsiDe1U1MhNnbaCBLCRUdh6KYVaYAWfRK qasfkCOgpEzQJUknUjQyYHxp3/VXmZr2UbKPgI39bji5g5LrvMkwTm/crK7DkqKhxvZg HJrA== X-Gm-Message-State: AA+aEWaPkdYWgYEMrcdlibJi6lqPF1BWb6b5VcBO4GMD9wAAPTMG4DcS LSAvLro2tt/ncjKB8KVcbo4WxWMbXTw= X-Received: by 2002:a5d:4c8a:: with SMTP id z10mr13131058wrs.75.1543832796397; Mon, 03 Dec 2018 02:26:36 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id k26sm2977930wmi.28.2018.12.03.02.26.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 02:26:35 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 3 Dec 2018 10:26:33 +0000 Message-Id: <20181203102634.4850-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] patchreview: various fixes X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- scripts/contrib/patchreview.py | 46 ++++++++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 11 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/scripts/contrib/patchreview.py b/scripts/contrib/patchreview.py index a4d5ba68676..072166504da 100755 --- a/scripts/contrib/patchreview.py +++ b/scripts/contrib/patchreview.py @@ -5,6 +5,7 @@ # - test suite # - validate signed-off-by +status_values = ("accepted", "pending", "inappropriate", "backport", "submitted", "denied") class Result: # Whether the patch has an Upstream-Status or not @@ -35,25 +36,26 @@ def blame_patch(patch): "--format=%s (%aN <%aE>)", "--", patch)).decode("utf-8").splitlines() -def patchreview(patches): - import re +def patchreview(path, patches): + import re, os.path # General pattern: start of line, optional whitespace, tag with optional # hyphen or spaces, maybe a colon, some whitespace, then the value, all case # insensitive. sob_re = re.compile(r"^[\t ]*(Signed[-_ ]off[-_ ]by:?)[\t ]*(.+)", re.IGNORECASE | re.MULTILINE) status_re = re.compile(r"^[\t ]*(Upstream[-_ ]Status:?)[\t ]*(\w*)", re.IGNORECASE | re.MULTILINE) - status_values = ("accepted", "pending", "inappropriate", "backport", "submitted", "denied") cve_tag_re = re.compile(r"^[\t ]*(CVE:)[\t ]*(.*)", re.IGNORECASE | re.MULTILINE) cve_re = re.compile(r"cve-[0-9]{4}-[0-9]{4,6}", re.IGNORECASE) results = {} for patch in patches: + + fullpath = os.path.join(path, patch) result = Result() - results[patch] = result + results[fullpath] = result - content = open(patch, encoding='ascii', errors='ignore').read() + content = open(fullpath, encoding='ascii', errors='ignore').read() # Find the Signed-off-by tag match = sob_re.search(content) @@ -122,6 +124,8 @@ def analyse(results, want_blame=False, verbose=True): missing_status += 1 if r.malformed_upstream_status or r.unknown_upstream_status: malformed_status += 1 + # Count patches with no status as pending + pending_patches +=1 if r.missing_cve: missing_cve += 1 if r.upstream_status == "pending": @@ -132,7 +136,6 @@ def analyse(results, want_blame=False, verbose=True): need_blame = True if verbose: print("Missing Signed-off-by tag (%s)" % patch) - if r.malformed_sob: need_blame = True if verbose: @@ -198,14 +201,35 @@ if __name__ == "__main__": args.add_argument("-b", "--blame", action="store_true", help="show blame for malformed patches") args.add_argument("-v", "--verbose", action="store_true", help="show per-patch results") args.add_argument("-g", "--histogram", action="store_true", help="show patch histogram") - args.add_argument("directory", nargs="?", help="directory to scan") + args.add_argument("-j", "--json", help="update JSON") + args.add_argument("directory", help="directory to scan") args = args.parse_args() - if args.directory: - os.chdir(args.directory) - patches = subprocess.check_output(("git", "ls-files", "recipes-*/**/*.patch", "recipes-*/**/*.diff")).decode("utf-8").split() - results = patchreview(patches) + patches = subprocess.check_output(("git", "-C", args.directory, "ls-files", "recipes-*/**/*.patch", "recipes-*/**/*.diff")).decode("utf-8").split() + results = patchreview(args.directory, patches) analyse(results, want_blame=args.blame, verbose=args.verbose) + + if args.json: + import json, os.path, collections + if os.path.isfile(args.json): + data = json.load(open(args.json)) + else: + data = [] + + row = collections.Counter() + row["total"] = len(results) + row["date"] = subprocess.check_output(["git", "-C", args.directory, "show", "-s", "--pretty=format:%cd", "--date=format:%s"]).decode("utf-8").strip() + for r in results.values(): + if r.upstream_status in status_values: + row[r.upstream_status] += 1 + if r.malformed_upstream_status or r.missing_upstream_status: + row['malformed-upstream-status'] += 1 + if r.malformed_sob or r.missing_sob: + row['malformed-sob'] += 1 + + data.append(row) + json.dump(data, open(args.json, "w")) + if args.histogram: print() histogram(results) From patchwork Mon Dec 3 10:26:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 152686 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6639713ljp; Mon, 3 Dec 2018 02:27:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/VrBLFG2sgp5GPRA8++4W7jhpDx+fe7OuntCsCe5XHLGpTpw5KdsTl++zNbD+JzlzwbFPXv X-Received: by 2002:a62:4c5:: with SMTP id 188mr15567715pfe.130.1543832837626; Mon, 03 Dec 2018 02:27:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543832837; cv=none; d=google.com; s=arc-20160816; b=VNfKz7tnoxdm2KFNUmr1wuR4enWstGSsTNeEqKD1K1HE0wv5QKy4U53jAEjM+MKi94 Nr4At5fd2bkRL+bja6y+pWC1eVtYyxjWXI5Gd+fjY76Dzp1/YHyJs/yqXsuPYqORgoWq k6WGjCHhkHRwrBWUQfUlnvQLVqY2hlTIKqRgdi/nXmBI78ThbGc5AwPZijuWrQRiaiAw mPbewKMjtiQ6vnAGDVCHdz/6c/YkRpXw13P4eCgPtrGGTYIeuFFu9t7cAK8mFdMrS3ys OVG/idEOMjMH4iv5HY8ePqEiAvFXV0vNPgi0le91qPgQ4053vGwwzaAw87WaGR3GKLXU CGsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=GmQVD28OL0O6qA/71+22yEz27CBpNCW4fOUIYnOYw7Y=; b=z5oo9ip9mdg3T7EaFOtIFXoWrLjGnDgZTA7lmuwt33uuLxNuwmpLqoMuSNc+aqsRCi uS9HKJucBfTnVaXDgFMcX3JtUJquLylpRdELxkWU7CW3Gr5E5JYMrbCn+x0QGdTBolT6 7J2nsZ0kJ/obJV/xmIBv2/bcpBjBTpD1PAXybS3WEWaDBdaG3elJpI30H9JOjRMz2pVg HnkxWw6qdBXVfRJSZwv/UTieCe/Eg19mQTBO5NvUzHKaAlU51DvAutttnUMaLP0UZkmL U13QXpHTss2/qcRpC1kANlSgH2ZWww72MVB3gViSHayM5FsZ7LB+upSMezN3s5d8u6Pn 9tUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=CxWITPBY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d77si13912541pfj.124.2018.12.03.02.27.17; Mon, 03 Dec 2018 02:27:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=CxWITPBY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 64DEA6C54B; Mon, 3 Dec 2018 10:27:15 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mail.openembedded.org (Postfix) with ESMTP id 087786BBF8 for ; Mon, 3 Dec 2018 10:26:36 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id y139so5135221wmc.5 for ; Mon, 03 Dec 2018 02:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=pmRR0LloNZSuze/NvgkPezbYpK6I6FzM6TiDD9/yPzw=; b=CxWITPBYa3ya3WlUO852e6U/eXeefqcmKfV21nSIQ50tglzaLnzy6Ah9t5v/bYW5+f 4dTPpoMp3uV83k7ZwhUZGtSd86a3iihJDO/5oz5MYAmX+u5oiWBLu1DmiSK4xyWKHJ1Q jouQB2jcTJlHr1lX0JXGRN0PJxZrnU9ceeBo+gv5amRtRFevpaWXgCJi379lNYuv+jUG Z9gI1oh1rIgjjvigNUuVNJg+bTnFW3RaFyBpG5Et887inrsj/eTzn/cnIVBcjetcmXag mYMG7Iz/EajiEyTLv96gnFSgCbSZoXFg2zN4XqBXv3LRe65tahZYBguUxqnZbwNjAE1m teqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=pmRR0LloNZSuze/NvgkPezbYpK6I6FzM6TiDD9/yPzw=; b=a4nVG4dyX5v2kRY5UVux5o01Rig61yrdUDvRB7QA6Jt6JxYb7d7mIk38xbucgmGe4e hCZxESluFDUP5nPqqUU4GqJzMaBLzkYfvtAoeOLLAX0EmkudbSUt87mpNWVc3QKd1Qg1 qkqBmK69VBLKJXZJjvxEufZlIMElJvXJdQYrknONmb0bu6rhV/Fv8MZ1xJjfIiD9zM+P MMKp5LNs2diUJ22Jh15jFzlRCHdwRfUmsUZW9rRbRqTtE/g65kvggTNn6os+kg8AmcIH KafrQ3BegvIuIouGNYu81Qgg1Gzjp/eUP52vzh7xk7uoJ6GqU7AxggmjEkn7gsiTgF1h YJiQ== X-Gm-Message-State: AA+aEWaHCSoXnLyQI+iv9MX7VszGgu4oDtN9aCyRzQDGz0ZDVqDj3Gyh wzMB6Iq5SAYQjdOFEP0oXrb12jcZtq8= X-Received: by 2002:a1c:f112:: with SMTP id p18mr7172662wmh.83.1543832797501; Mon, 03 Dec 2018 02:26:37 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id k26sm2977930wmi.28.2018.12.03.02.26.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 02:26:36 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 3 Dec 2018 10:26:34 +0000 Message-Id: <20181203102634.4850-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181203102634.4850-1-ross.burton@intel.com> References: <20181203102634.4850-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] mdadm: add back lost Upstream-Status tags X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- .../0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch | 2 +- .../files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch | 2 +- .../mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch | 2 +- .../mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch b/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch index 72368cb17b1..12bf6a59207 100644 --- a/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch +++ b/meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch @@ -8,7 +8,7 @@ its possible that build host gcc is version 7+ but the cross compile used for compiling mdadm is < version 7 Signed-off-by: Khem Raj - +Upstream-Status: Pending --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch b/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch index bdedbb2d984..6293f9b2b37 100644 --- a/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch +++ b/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch @@ -25,7 +25,7 @@ Fixes | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj - +Upstream-Status: Pending --- mdadm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch b/meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch index e10905c63b5..a1e7e59323b 100644 --- a/meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch +++ b/meta/recipes-extended/mdadm/files/0001-mdadm.h-Undefine-dprintf-before-redefining.patch @@ -14,7 +14,7 @@ In file included from policy.c:25: /mnt/oe/openembedded-core/build/tmp-glibc/sysroots/qemux86/usr/include/bits/stdio2.h:145:12: note: previous definition is here Signed-off-by: Khem Raj - +Upstream-Status: Pending --- mdadm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch b/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch index d279fddfb6a..0bd556d4372 100644 --- a/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch +++ b/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch @@ -10,7 +10,7 @@ compiler warnings This works in cross and native compilation case Signed-off-by: Khem Raj - +Upstream-Status: Submitted --- Grow.c | 4 ++++ bitmap.c | 8 ++++++++