From ee32a4a7357083e7e9e47bd3ef52937f5d984453 Mon Sep 17 00:00:00 2001 From: Xorg Date: Sun, 21 Oct 2018 09:59:15 +0200 Subject: [PATCH] DB: Add missing patterns in decode_amd_ryzen_model_code() Forgotten in d8a273f17acc17d2fba5b5fdb2cd42e2c093b19f --- libcpuid/recog_amd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcpuid/recog_amd.c b/libcpuid/recog_amd.c index fe8a952..b9764b3 100644 --- a/libcpuid/recog_amd.c +++ b/libcpuid/recog_amd.c @@ -495,9 +495,12 @@ static int decode_amd_ryzen_model_code(const char* bs) int model_code; const char* match_str; } patterns[] = { + { _2800, "2800" }, { _2700, "2700" }, + { _2600, "2600" }, { _2500, "2500" }, { _2400, "2400" }, + { _2200, "2200" }, { _1900, "1900" }, { _1600, "1600" }, { _1500, "1500" },