Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp794026ybk; Fri, 15 May 2020 13:48:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrFrvnzD7aMZtSrbG6uNptDukAhOjVrZF2Bw+NDFsP+MBX4gsbSuUSEnfmQxb3zbOlwbgj X-Received: by 2002:a17:906:4749:: with SMTP id j9mr4715166ejs.23.1589575707925; Fri, 15 May 2020 13:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589575707; cv=none; d=google.com; s=arc-20160816; b=kcBN4NGnS2g+ZlOqphtH3nUpi4fd+PwrEwH+hyxOVO3SSlXkWv7Bq2Tr4PjeKBYXkF QtkmIaF+s544toq6NVz69eZGBKvefIlnFVFxEFj2TQtJUfwa+79kp3CUR+0bvpFTIpmB /qdSxI2FpeXR1FfOW40pknZTK14f7IoVU6QxoABEI4Ec2M6eZKbu7jm3iH0/MR+dBTTK I5hYd3e1eKIP3QsQHFgDjzjPfKk7F7fr4+VpeKd3b3c4lhDoKgNwzg1YK2lf5fc8UTta 5vHxrqLXy7phVf0XY2Mv5w3Q9h2t731J9lEa3B9GlJ8rRJ9bszyvfku1w/mJockrU5sW 6cmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=31jlI11UdSuUne5CytA8aXHN1DKoQTYg2m0ehqqjq1w=; b=unz+3oHu31b0s2twnmkPNQj8FyBMfA2jU0OD9Q/ofr7Mp/REDDufkUqdBeIBDpOpk1 Yd+SWauwKYBgmj50L0rGq6yiZu+oXjWMAolKYYMZ7tmTgeh7MmfZJqzBhwc9Lf3FC00l fuBBJVOhIaw0+VKqVJdBj5SgpyEcMw5/vVrz6kVRqx9c4VK2qzAf3mUROXVrANih/Smh PJqw/qlPzyUGSuG/2yRlq8KUOFczhKBFaOrBhB4u72NEAoXzu4FhivcxNZFlxBkj820t K3+rgdOiM9XMFUpG6s/joUoo3CNTHTJKVoEGKlXQrJdA+7cjn9sMxLodooA61yVXZnSb P3Hw== 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 qp11si2098098ejb.316.2020.05.15.13.48.05; Fri, 15 May 2020 13:48:27 -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 S1726643AbgEOUoX (ORCPT + 99 others); Fri, 15 May 2020 16:44:23 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34302 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbgEOUoX (ORCPT ); Fri, 15 May 2020 16:44:23 -0400 Received: by mail-pg1-f195.google.com with SMTP id f6so1556771pgm.1; Fri, 15 May 2020 13:44:23 -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:user-agent; bh=31jlI11UdSuUne5CytA8aXHN1DKoQTYg2m0ehqqjq1w=; b=Nr+wW/S0YqcnjY3rjCXDlQrzv69mSln+17NZYJDLMkCwVVBL60VVJL9eMr6Fjr6FRe y1vMkFjtrFGZvpZYEa4V3B+VFXvBeYsjOW2yFXWIfCdbaw8qGUfXgEfA8JnEd77NpHkM K1exf67FVJxF5dISa4eBFkR92IPx3QOCu6wdB7WU5RtOb9BL2gYFfQ/2I/ChL48SUQ3u G2LvSldXyL79rsseNGTBQ7rylGTgVizsuMJ2MFwUO3d691/WAldvB4HSwfzwa9T3iPO2 zG6gdZZVIqOLNwHh3qh2ljcXbfk/ikpthkFBFGZEobrRlhhfFTdOM5Qc2nNrK74Ow5no boWw== X-Gm-Message-State: AOAM531L1yg6BCFa3ACHakiMnjYtZArjgDej+/Xw3filWH3cQxXlEKmD DlxfYWMHZ6LKoL7ZCdGelQBK/j14GqeJ1A== X-Received: by 2002:a62:e70b:: with SMTP id s11mr5672379pfh.32.1589575462477; Fri, 15 May 2020 13:44:22 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id f6sm2707575pfd.175.2020.05.15.13.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 13:44:21 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id B5A6B40246; Fri, 15 May 2020 20:44:20 +0000 (UTC) Date: Fri, 15 May 2020 20:44:20 +0000 From: Luis Chamberlain To: Scott Branden Cc: Greg Kroah-Hartman , David Brown , Alexander Viro , Shuah Khan , bjorn.andersson@linaro.org, Shuah Khan , Arnd Bergmann , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson , Andrew Morton , Dan Carpenter , Colin Ian King , Kees Cook , Takashi Iwai , linux-kselftest@vger.kernel.org, Andy Gross Subject: Re: [PATCH v5 2/7] firmware: add offset to request_firmware_into_buf Message-ID: <20200515204420.GB11244@42.do-not-panic.com> References: <20200508002739.19360-1-scott.branden@broadcom.com> <20200508002739.19360-3-scott.branden@broadcom.com> <20200513003301.GH11244@42.do-not-panic.com> <3919bb12-522d-11fd-302b-91dc0fcff363@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3919bb12-522d-11fd-302b-91dc0fcff363@broadcom.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 11:35:06AM -0700, Scott Branden wrote: > On 2020-05-12 5:33 p.m., Luis Chamberlain wrote: > > On Thu, May 07, 2020 at 05:27:34PM -0700, Scott Branden wrote: > > flags? But its a single variable enum! > fw_opt is an existing enum which doesn't really act like an enum. > It is a series of BIT defines in an enum that are then OR'd together in the > (existing) code? Indeed, in retrospect that is odd, it should be a u32 then. Please feel free to fix. Luis