From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98C73CA9ECF for ; Mon, 4 Nov 2019 17:39:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7430520B7C for ; Mon, 4 Nov 2019 17:39:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="nPfzuWMj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728012AbfKDRjw (ORCPT ); Mon, 4 Nov 2019 12:39:52 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40960 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729362AbfKDRjw (ORCPT ); Mon, 4 Nov 2019 12:39:52 -0500 Received: by mail-pl1-f195.google.com with SMTP id d29so1536190plj.8 for ; Mon, 04 Nov 2019 09:39:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:date:to:cc:subject:message-id:mime-version:content-disposition; bh=nnc02y2mVvcwsjK+5OxNf5NIm6spEyBcFyvczZg9OVw=; b=nPfzuWMjB7pns9I/nii8PhcEk9Chdus75+1i6dQXzhkI76+o+ZW4rJnp/5BmwbrDfy l4kET/hWk7Es/dSx3SNwwxbXqPwh6xn5cgTf+Pq/Mbt1sXYxZ0JW4yI4sz9/FhSn0LeG CaPCodZAKvUj4nghS3iRg5WexnNFYvvpxwM1s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:mime-version :content-disposition; bh=nnc02y2mVvcwsjK+5OxNf5NIm6spEyBcFyvczZg9OVw=; b=N/0cBPotFDfrpfz0Ds9E2qjMb9tk4qEXrqHBLw0T83CQGHboSggXiH2vscKivqkPua +h4o6KKwaETf1zAJE6hVjLAHPKQw1R/Kq2htBVIh9vRLgOavJOhoDHwqsogCnKQo0m8C zXXioMr+M1+jHcYmuGK15zLS5lWOv3xQMCWP1d2D5WXySJDaBY3q/4NNdHcx6BSnfBTa ft2unGdjSrSj4eK5D5T6WIf+oY8ByyAT3ybvpGX+Oka8uIV9az2qhp/4VA04O/22Q6lq SkMjyxsH4p0gQTe/MmEXOtGj7LxE1EHCTAteFCjab3UQ2R27PbAuESnB+Yjgd2xG3dgN 4XHA== X-Gm-Message-State: APjAAAV45UiLXMwp79kNe9Xw2Wg3UUiipS2KVzQ3LwvySNuERlC5xyOu RWiu9QbjyPZ7krE3XmGLwAk/tg== X-Google-Smtp-Source: APXvYqzzA7uqS5Q941RA0PRajYrO8BjsWFPRrLWyT6UMrTuejTCAlKHiskLvNo4hYHu+gJmldvrccA== X-Received: by 2002:a17:902:d910:: with SMTP id c16mr24873667plz.102.1572889190978; Mon, 04 Nov 2019 09:39:50 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id 184sm18065106pfu.58.2019.11.04.09.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 09:39:50 -0800 (PST) From: coverity-bot X-Google-Original-From: coverity-bot Date: Mon, 4 Nov 2019 09:39:49 -0800 To: Corentin Labbe Cc: Neil Armstrong , Herbert Xu , "Gustavo A. R. Silva" , linux-next@vger.kernel.org Subject: Coverity: meson_allocate_chanlist(): Uninitialized variables Message-ID: <201911040939.3AB1A8CC2B@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Hello! This is an experimental automated report about issues detected by Coverity from a scan of next-20191031 as part of the linux-next weekly scan project: https://scan.coverity.com/projects/linux-next-weekly-scan You're getting this email because you were associated with the identified lines of code (noted below) that were touched by recent commits: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL") Coverity reported the following: *** CID 1487398: Uninitialized variables (UNINIT) /drivers/crypto/amlogic/amlogic-gxl-core.c: 184 in meson_allocate_chanlist() 178 goto error_engine; 179 } 180 } 181 return 0; 182 error_engine: 183 meson_free_chanlist(mc, i); vvv CID 1487398: Uninitialized variables (UNINIT) vvv Using uninitialized value "err". 184 return err; 185 } 186 187 static int meson_register_algs(struct meson_dev *mc) 188 { 189 int err, i; If this is a false positive, please let us know so we can mark it as such, or teach the Coverity rules to be smarter. If not, please make sure fixes get into linux-next. :) For patches fixing this, please include these lines (but double-check the "Fixes" first): Reported-by: coverity-bot Addresses-Coverity-ID: 1487398 ("Uninitialized variables") Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL") Thanks for your attention! -- Coverity-bot