summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ucodeadm/ucodeadm.c
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2021-06-21 13:44:28 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2021-06-23 22:05:39 +0000
commitada023d26fbb04273c643d7c7fade1b24da764fb (patch)
tree052f64e0e72a3cc7e72bd4389a56793a09183216 /usr/src/cmd/ucodeadm/ucodeadm.c
parentfa9eb22261c7b7a35c7a6957acb3c2b26c39e15b (diff)
downloadillumos-joyent-ada023d26fbb04273c643d7c7fade1b24da764fb.tar.gz
13891 ucodeadm cannot handle latest Intel microcode
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/ucodeadm/ucodeadm.c')
-rw-r--r--usr/src/cmd/ucodeadm/ucodeadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/ucodeadm/ucodeadm.c b/usr/src/cmd/ucodeadm/ucodeadm.c
index 67a7bae882..18d0162b82 100644
--- a/usr/src/cmd/ucodeadm/ucodeadm.c
+++ b/usr/src/cmd/ucodeadm/ucodeadm.c
@@ -25,6 +25,7 @@
/*
* Copyright (c) 2018, Joyent, Inc.
+ * Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
*/
#include <sys/types.h>
@@ -239,7 +240,6 @@ ucode_should_update_intel(char *filename, uint32_t new_rev)
static ucode_errno_t
ucode_gen_files_amd(uint8_t *buf, int size, char *path)
{
- /* LINTED: pointer alignment */
uint32_t *ptr = (uint32_t *)buf;
char common_path[PATH_MAX];
int fd, count, counter;