* removed musl and openssl from btrfs-progs.cache
[t2sde.git] / package / kernel / linux / spd-5118_parity_2_2.patch
blob3ef8251fa68ab5359f466e2dbde6d69d47f3d2e1
1 Return-path: <hristo@venev.name>
2 Envelope-to: rene@exactcode.de
3 Delivery-date: Sun, 28 May 2023 16:03:27 +0000
4 Received: from a1-bg02.venev.name ([213.240.239.49])
5 by exactco.de with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
6 (Exim 4.86_2)
7 (envelope-from <hristo@venev.name>)
8 id 1q3Ire-0002wA-Jk
9 for rene@exactcode.de; Sun, 28 May 2023 16:03:27 +0000
10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=venev.name;
11 s=default; h=Content-Transfer-Encoding:Message-Id:Date:Subject:To:From:
12 Content-Type:Reply-To:Sender; bh=+lqrHXwA1p92qST4iNmRjVoXTxoyj8vuOPGc0T4eIYQ=
13 ; b=oZAIDIWeL7p2nmM2D9PXpNQcE2glvxXpEQhxm7YRMKUEdhMwmq2H1OMr1NCx/EBL75mcZq6ZP
14 FYn2QPBOmzgDE9jN6E57d41aHDs++38N4BsvOzcq6CTkiAqf4C6F92UbLhUV6VA8g1X4iCp5HJCm2
15 kPb+l6CnlPcwOBg0eYF3HSR9DkCMv15rwaLBkG3mJ5Obo/Hl0PXkD7wVDTtmp+2qgn6LTyfEtSkcO
16 1CTKwbf7XDb/lfrHQmJ/z9jJji8vc9I+bsBKjMahIfsXOIrM3uJx0gwKkUYH517VeIvaSKRX7vFoC
17 bJiWiFc74wQs7xezkXnmgpd6G8AWPuXAJtskFKtbeo92zEKKPhsylhA7gAgpwqGvM1oln/8MVDli9
18 ybma1ZEjZfLPMuBzlypT3HtJMV90+NnjzMtjsCMOZIHfpcrF4CjQv8gatdEq7OItuazm8RpOZkYWV
19 VgSEQAlpFblDh5s7hs6H9ReXhhXemrWqaO3DQywFM5elTMeOAEF65Tl4FtM2pFsT2OgmcRZbqKRs7
20 KuEAA5DFgCarEktlEruEQmegnOP8vztYFN9a8dajX3QSqnHUX6NnuU3xKzuA4JgW8p/SVn9aNHI6I
21 FuQXXzuO0LFyd1B/B4HFxLu3+LQp93TqoysDAUXJLwRi7K7kKUv48UnNI47YyJNo3/BZnEQ=;
22 Received: from a1-bg02.venev.name ([213.240.239.49] helo=pmx1.venev.name)
23 by a1-bg02.venev.name with esmtps
24 id 1q3Ilx-0012Kk-18
25 (TLS1.3:TLS_AES_256_GCM_SHA384:256)
26 (envelope-from <hristo@venev.name>);
27 Sun, 28 May 2023 15:57:34 +0000
28 Received: from venev.name ([213.240.239.49])
29 by pmx1.venev.name with ESMTPSA
30 id 6ODjBux5c2QBxgMAdB6GMg:T3
31 (envelope-from <hristo@venev.name>); Sun, 28 May 2023 15:57:34 +0000
32 From: Hristo Venev <hristo@venev.name>
33 To: =?UTF-8?q?Ren=C3=A9=20Rebe?= <rene@exactcode.de>
34 Cc: Hristo Venev <hristo@venev.name>
35 Subject: [PATCH 2/2] fixup! hwmon/spd5118: Add support for thresholds, alarms, and chip info
36 Date: Sun, 28 May 2023 18:56:52 +0300
37 Message-Id: <20230528155651.247195-3-hristo@venev.name>
38 X-Mailer: git-send-email 2.40.1
39 In-Reply-To: <BCF33206-A17C-48F0-A45D-0870B094290A@exactcode.de>
40 References: <BCF33206-A17C-48F0-A45D-0870B094290A@exactcode.de>
41 MIME-Version: 1.0
42 Content-Transfer-Encoding: 8bit
43 X-Spam-Score: 3.8 (+++)
44 X-Spam-Report: Spam detection software, running on the system "exactcode.de", has
45 identified this incoming email as possible spam. The original message
46 has been attached to this so you can view it (if it isn't spam) or label
47 similar future email. If you have any questions, see
48 the administrator of that system for details.
50 Content preview: Signed-off-by: Hristo Venev <hristo@venev.name> --- drivers/hwmon/spd5118.c
51 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/spd5118.c
52 b/drivers/hwmon/spd5118.c index 5a6c1a0f82a8..1e51ca9b8d33 100644 --- a/drivers/hwmon/spd5118.c
53 +++ b/drivers/hwmon/spd5118.c @@ -83,7 +83,7 @@ static bool spd5118_vendor_valid(u16
54 reg) u8 pfx = reg & 0xff; u8 id = reg >> 8; [...]
56 Content analysis details: (3.8 points, 5.0 required)
58 pts rule name description
59 ---- ---------------------- --------------------------------------------------
60 2.8 RCVD_BAD_ID RCVD_BAD_ID
61 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
62 [score: 0.4683]
63 1.0 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org
65 Signed-off-by: Hristo Venev <hristo@venev.name>
66 ---
67 drivers/hwmon/spd5118.c | 2 +-
68 1 file changed, 1 insertion(+), 1 deletion(-)
70 diff --git a/drivers/hwmon/spd5118.c b/drivers/hwmon/spd5118.c
71 index 5a6c1a0f82a8..1e51ca9b8d33 100644
72 --- a/drivers/hwmon/spd5118.c
73 +++ b/drivers/hwmon/spd5118.c
74 @@ -83,7 +83,7 @@ static bool spd5118_vendor_valid(u16 reg)
75 u8 pfx = reg & 0xff;
76 u8 id = reg >> 8;
78 - if (!__builtin_parity(pfx) || !__builtin_parity(id))
79 + if (!parity8(pfx) || !parity8(id))
80 return false;
81 id &= 0x7f;
82 if (id == 0 || id == 0x7f)
83 --
84 2.40.1