Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1480659imm; Wed, 17 Oct 2018 21:58:30 -0700 (PDT) X-Google-Smtp-Source: ACcGV62qw+AZ2+sqP6d4HK2mARlAkwp0xrBhDamEICWitppz24g4mTnOPzE5XUyzBiHmT2Z/eMt5 X-Received: by 2002:a63:2643:: with SMTP id m64-v6mr26832875pgm.435.1539838710288; Wed, 17 Oct 2018 21:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539838710; cv=none; d=google.com; s=arc-20160816; b=HodKKThG3K44ICZLeL9DTTtKcNss99LF3bGTQ4qtEegWEtW0/X6/n0g/hwOw2u2L9I X+rF3JKnzAmcdR719xsezqUSyJ1TzJNQ4I8Z57xb95UFLnNzNQmT24bqliW8CVKDLo3u PIefsigNAEzuocW+UnnmmFBxPD4v4yT1Pj/xbam+RCl2TnJmohF1gJNoHxJ2JHJGMuWy h73KsZ5dyj0KssG57GT4nQVv4njgtroYRoGTvts3uP/VIYtcG1Y33TaryGEBEhbjblE4 2byoj5zW8zI7WcmZq+iTVVcp1eVwPsCpMGjJ2qEQhU53CM41xuHcg8mMhy3unH89A1re t4nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=M0x+C4DLFSBMCoqLky+I7Y0PiOB+k389A2JdMaE0kR4=; b=D2/hyoZNacXG8hV5drcxunIvnIyErTzoaBfQ2w901Cz3jpDIpcu9ye9nSjxtUCEq85 VGKpbQ6qGPsfKb7/8dOGzOQdo+QdHzlt+Ox3DYAipRmJfldARWF4mgIRqDOtrYTH1sRf EZAI4Iq2VckKyzsoNzCri8UOU+UJuN9xZoYJKu5ynsc38YWwhs06n4GMTS8cDx7evVPk Cu+Z6iKuNvNKpGE82o5InOw2YMLQzHFCp9q5wEbSq0Pumw6FxXluB+wl5x0auTJW5D7j PwXhhsxm3PPCVYM4fWABtzxbx56uOmUnOcknVcDMRQeUVvG13T88LUfKypugL4Q//6Hg MWQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si20855772pfg.282.2018.10.17.21.58.14; Wed, 17 Oct 2018 21:58:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727474AbeJRM46 (ORCPT + 99 others); Thu, 18 Oct 2018 08:56:58 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:54556 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727377AbeJRM46 (ORCPT ); Thu, 18 Oct 2018 08:56:58 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::cf9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1130413AE1A86; Wed, 17 Oct 2018 21:57:51 -0700 (PDT) Date: Wed, 17 Oct 2018 21:57:50 -0700 (PDT) Message-Id: <20181017.215750.1443200238401091747.davem@davemloft.net> To: kyeongdon.kim@lge.com Cc: ktkhai@virtuozzo.com, viro@zeniv.linux.org.uk, garsilva@embeddedor.com, jbaron@akamai.com, dvlasenk@redhat.com, xiyou.wangcong@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] net: fix warning in af_unix From: David Miller In-Reply-To: <1539669446-51996-1-git-send-email-kyeongdon.kim@lge.com> References: <1539669446-51996-1-git-send-email-kyeongdon.kim@lge.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 17 Oct 2018 21:57:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kyeongdon Kim Date: Tue, 16 Oct 2018 14:57:26 +0900 > This fixes the "'hash' may be used uninitialized in this function" > > net/unix/af_unix.c:1041:20: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized] > addr->hash = hash ^ sk->sk_type; > > Signed-off-by: Kyeongdon Kim Applied to net-next.