From owner-freebsd-questions@freebsd.org Sun Jan 31 21:25:56 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B9F92527BCF for ; Sun, 31 Jan 2021 21:25:56 +0000 (UTC) (envelope-from hruodr@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DTPJM4l3cz4hbS for ; Sun, 31 Jan 2021 21:25:55 +0000 (UTC) (envelope-from hruodr@gmail.com) Received: by mail-ed1-x533.google.com with SMTP id c2so16616136edr.11 for ; Sun, 31 Jan 2021 13:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:user-agent:mime-version; bh=Xdl4+L3co7U2fOqTv95RdsdKfMDPtZ3szXxG9f1pZ+Y=; b=ZNiR6sL4+KwVIUKvwi51A/xBN0b5CvI6hVVknSiNuAUpQZw4RKs7m8whQbVrUsC5Hr oAoVPhnK2iP051/RorvVeoDhzzEv2wpzJ+yjMNfbud1vAYmS9sy22WGqwv+/5QbNuAvu AYX34J2HJfSjcVo14YyY5tYk5TkWJAIQ2fDP9x9uiMP40+yw2JgIvQPzAml1B4PRAayX ivbo9bDGmRx9Y0VJR/UdydsHPbPFtQU6AfXeiy9hQauQPgsLCzlFcJFN4kKxiwi1QMnA Cplb0YMW7TLJwV6QZJt32eGsrC8fy0i6JKUz6WRRsBmkIgHtx0WCwi8NRNC/DtQyKC6k M0fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:user-agent :mime-version; bh=Xdl4+L3co7U2fOqTv95RdsdKfMDPtZ3szXxG9f1pZ+Y=; b=cwUip3pb7Reoik8x+PQNYwPEVZauo2sCcQ+x4nidqb57JNF+EjaASETXiS9Jgh7FRl H54DN4T/qISvzVQnOK1LwNH8jZq/PF2HbT1mS/W/9ZpIOCWuF7Eb7S+4YzzzMhtDwR9k jAKroZeve9+kKXSev7m2YYaiQlF4YlGX4UEQ/ChKIkKsAT3vyRfthL0567pqUkAhsNG9 wCOVDu/ceVqmhdHFu6e9+gj69e18lKp84XrI+umIJR0Vr2bRJIj1pN1meTfR+jguWc+5 Kofy99gfujmz/b3pzW7wJJRASWWLPzwdrLmqVbntqtFhbrSL/VMrSQRXH/N9tUG6Cue2 zXsQ== X-Gm-Message-State: AOAM5324+unrsyBmZN/G230V0shC5sUZ2NqSSSVAkZZjDngBezr4YZ7q Bgu33O7WEbGk762S73DqfAsIdZmTzKw= X-Google-Smtp-Source: ABdhPJye72hqxmtUWDSEA80bf2+9tQ+MwH3NBRG211ut70DWXEn6E0CFc8IaJPmAUfY6qKQI5uTBYg== X-Received: by 2002:a05:6402:3116:: with SMTP id dc22mr15454179edb.325.1612128353305; Sun, 31 Jan 2021 13:25:53 -0800 (PST) Received: from [192.168.178.26] (dslb-188-102-010-085.188.102.pools.vodafone-ip.de. [188.102.10.85]) by smtp.gmail.com with ESMTPSA id v23sm3877827eja.11.2021.01.31.13.25.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Jan 2021 13:25:52 -0800 (PST) Date: Sun, 31 Jan 2021 21:22:36 +0000 (UTC) From: Roderick To: freebsd-questions@freebsd.org Subject: Warnings when compiling kernel Message-ID: User-Agent: Alpine 2.23 (BSF 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4DTPJM4l3cz4hbS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZNiR6sL4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hruodr@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=hruodr@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[188.102.10.85:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::533:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::533:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2021 21:25:56 -0000 Are they normal? """"""""""""""""""""""""""""""""""""" cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/kern/kern_cpuset.c /usr/src/sys/kern/kern_cpuset.c:637:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] for (i = 0; i < (_NCPUWORDS - 1); i++) { ~ ^ ~~~~~~~~~~~~~~~~ 1 warning generated.