Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4366091pxt; Wed, 11 Aug 2021 04:31:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzXdtM0pX3/0yKKCsF2PfT5t1Dihzc1+9kQkldLlai6YI2mrlmG/6VnfwKhWBhO4Ay++MU X-Received: by 2002:a50:d548:: with SMTP id f8mr10968452edj.357.1628681470231; Wed, 11 Aug 2021 04:31:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628681470; cv=none; d=google.com; s=arc-20160816; b=kdhRlJJkJuWiuKECK3zHOPQmfxyFB0gRDjszzN0YqBKOfjAxJUjplqjmeVeDUmuyp5 RAyq+sko6ljpLPyNVMtgDSOuzpU74BtIW4cfeF200ZL2zVHOd/JYEN1F2jm/fGsYm6EM 33ICEXx/tpmELDwpLUsMXD21zSAM1lYxpi+OPqxJ1phSsweNjMhU3vzudPzzInCmosCO aIIk5OBnRhSoJwvEb6M1y1Hzf1y6nwRe0ebGkmks/Uz0wOJf0H95YPGNGSBT00e/imlm JlD5XXSbjJqUy0ofqWTqIMIyy9Zpl0GvknIontu3qFcc7BC8x7/WN2BayLnpdu6n2HRO NRnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=SIL3/7PzyH6nx9D3aVENdGNeH/zsOZHpOqb2pn11fKQ=; b=ayktDKlv5dr3y/loPvBHHdSvfvPwcJZBJJZRqPTEQb4Ei1B6LAOn9/uUFkY6amMlsF HwlHS3BBrttYEc1nbHPBkJJIHSXdV90+rALae0CvZ7YhIC4kgLJ42WrCCWKJ96xKJmDH xHjH1YqwyMatH2E5t5sMP4/1FoadwQ2EMqCzxXrKTljLPbqPEPGhDnyWWnrxlIuoMB4s denFoXOiuecjkJdNXMTVamAsKjoNK0/bugbJFgAwGKpDMIhqDQXmBs+ANJMdj/FTmf2M Mj/zHSITa9hosJVIRo5kN0mu613WSIkYZqvwzUPIZiGIFEmQI5dMfNRVlL5q3clX3+ea fSTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp19si867823ejc.372.2021.08.11.04.30.42; Wed, 11 Aug 2021 04:31:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237324AbhHKL3m (ORCPT + 99 others); Wed, 11 Aug 2021 07:29:42 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:38402 "EHLO mail-wm1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237180AbhHKL3l (ORCPT ); Wed, 11 Aug 2021 07:29:41 -0400 Received: by mail-wm1-f51.google.com with SMTP id i10-20020a05600c354ab029025a0f317abfso4157256wmq.3; Wed, 11 Aug 2021 04:29:18 -0700 (PDT) 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=SIL3/7PzyH6nx9D3aVENdGNeH/zsOZHpOqb2pn11fKQ=; b=QarEf3cosrpgKM0nAGanTDR3bsznil9qrwtxVrEz/wCjkYQaAB8+no5xtZanQ36Y63 y3C3R2i150GlPAwPKAZeryjuvNmoJetKcSuqJZDGxvqlse3OiVcWPX/R6sEZe8D/kKQu IdigcrXuez4eHmG+zfb4362fH0KSWZqbQGGDtY+aeHzbNV5aQd8Xq2SmhkL4ybLW66+f yesI9xN+99tG4hhChhaeMK7RhfyPWLfzO80/oRFW4FyjuxX8tU0kSmDradD1ZuLyiDrJ qWKeBREUHgIi0IP81eeHTSYOqugUkf1xN1CSdAQ7wyz55p9DtVuQfLltKpZxqMQLUOQ/ he4Q== X-Gm-Message-State: AOAM533boCQAGQFFfHgwaKCgDcPz6DYqENhrIRQwZwGXBWlXiA+QQXxL eT2SfatfFSzEU7Jq2AEdHag= X-Received: by 2002:a7b:cf21:: with SMTP id m1mr9345344wmg.35.1628681357390; Wed, 11 Aug 2021 04:29:17 -0700 (PDT) Received: from localhost (HSI-KBW-095-208-000-224.hsi5.kabel-badenwuerttemberg.de. [95.208.0.224]) by smtp.gmail.com with ESMTPSA id g4sm1476865wrb.18.2021.08.11.04.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 04:29:16 -0700 (PDT) Date: Wed, 11 Aug 2021 04:29:15 -0700 From: Moritz Fischer To: Dan Carpenter Cc: Greg KH , trix@redhat.com, mdf@kernel.org, p.pisati@gmail.com, atull@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: machxo2-spi: return an error on failure Message-ID: References: <20210810164036.922830-1-trix@redhat.com> <20210810185116.GR22532@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210810185116.GR22532@kadam> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 10, 2021 at 09:51:16PM +0300, Dan Carpenter wrote: > On Tue, Aug 10, 2021 at 07:06:09PM +0200, Greg KH wrote: > > On Tue, Aug 10, 2021 at 09:40:36AM -0700, trix@redhat.com wrote: > > > From: Tom Rix > > > > > > Reported problem > > > > > > drivers/fpga/machxo2-spi.c:229 machxo2_write_init() > > > warn: missing error code 'ret' > > > > > > drivers/fpga/machxo2-spi.c:316 machxo2_write_complete() > > > warn: missing error code 'ret' > > > > What reported this? What does it mean? Where was it reported? > > These are Smatch errors, but my bug reports don't mention Smatch so > that's on me. I've fixed my report templated to mention Smatch now. > > regards, > dan carepenter > > Applied with slightly reworded commit-message to 'fixes' branch. Thanks, Moritz