Re: [PATCH v2 bpf-next 5/8] libbpf: wire up token_fd into feature probing logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 12, 2023 at 10:25:44AM -0800, Andrii Nakryiko wrote:
>  
> -enum kern_feature_result {
> -	FEAT_UNKNOWN = 0,
> -	FEAT_SUPPORTED = 1,
> -	FEAT_MISSING = 2,
> -};
> -
> -typedef int (*feature_probe_fn)(void);
> -
> -struct kern_feature_cache {
> -	enum kern_feature_result res[__FEAT_CNT];
> -};
> +typedef int (*feature_probe_fn)(int /* token_fd */);

Should have been in the previous patch?




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux